Skip to content
This repository was archived by the owner on May 16, 2024. It is now read-only.
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
848f42b
Updating samples so it refers to the new 'shared' service plan, so it…
dickeyf Sep 28, 2016
efeeead
Merge pull request #1 from dickeyf/master
dickeyf Oct 6, 2016
a215c9d
Merge branch 'master' of https://github.com/SolaceDev/solace-samples-…
benhaig Oct 6, 2016
6512204
Update "Common Setup"
benhaig Oct 7, 2016
a70436a
Improve deployment instructions
benhaig Oct 7, 2016
83a7513
Fixed links to tutorials
benhaig Oct 7, 2016
b6d62ef
Update VCAP_SERVICES example
benhaig Oct 7, 2016
f37c8af
Updated service instance name to match sample code
benhaig Oct 7, 2016
ca68c2b
Merge branch 'master' of https://github.com/SolaceSamples/solace-samp…
MichaelDavisSolace Nov 22, 2016
6ff051b
Added tls support
MichaelDavisSolace Nov 22, 2016
dd5e7de
Merge branch 'master' of https://github.com/SolaceSamples/solace-samp…
MichaelDavisSolace Nov 30, 2016
5b3905d
java-tls work in progress.
MichaelDavisSolace Dec 2, 2016
fba5ff4
Added secure-app, the TLS tutorial
MichaelDavisSolace Dec 9, 2016
7a7df8e
minor improvements to the secure-sessions tutorial.
MichaelDavisSolace Dec 9, 2016
f347576
Editorial changes from review
mdspielman Dec 9, 2016
02bb150
Added build dir to gitignore
MichaelDavisSolace Dec 13, 2016
320dbc7
Merge remote-tracking branch 'origin/mdspielman-patch-1' into tls-sup…
MichaelDavisSolace Dec 13, 2016
89cb009
Merge remote-tracking branch 'public/master'
MichaelDavisSolace Dec 13, 2016
77bca79
Merge branch 'master' into tls-support
MichaelDavisSolace Dec 13, 2016
9590cc9
Improvements to the secure-session tutorial based on Mark Spielman's …
MichaelDavisSolace Dec 14, 2016
c23db37
Improved secure-session tutorial based on the third review.
MichaelDavisSolace Dec 19, 2016
07c0748
Revert "Added tls support"
MichaelDavisSolace Dec 19, 2016
3375643
Fixed wrong variable name in the secure-session tutorial text. Improv…
MichaelDavisSolace Dec 20, 2016
61a163e
Merged changes from SolaceSamples
MichaelDavisSolace Dec 20, 2016
2ddecce
Fixed conflicts in secure-session.md
MichaelDavisSolace Dec 20, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/_tutorials/secure-session.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,10 @@ It is also possible to validate the self-signed certificate. This provides an en
1. Copy the certificate (the *.pem file) to the directory secure-app/src/main/resources.
1. Edit the file. Remove the private key section and just leave the lines starting with -----BEGIN CERTIFICATE----- and ending with ----- END CERTIFICATE-----.
1. In the CertificateUtil class, change the `CERTIFICATE_FILE_NAME` to match your certificate's file name.
1. In the SolaceController class, enable certificate validation.
1. In the SolaceController class, enable certificate validation and tell the app to install it.

```java
private static final boolean VALIDATE_CERTIFICATE = true;
private static final boolean INSTALL_CERTIFICATE = true;
// and set these further down...
properties.setproperty(JCSMPProperties.SSL_VALIDATE_CERTIFICATE, true);
properties.setproperty(JCSMPProperties.SSL_VALIDATE_CERTIFICATE_DATE, true);
Expand Down Expand Up @@ -176,7 +176,7 @@ If you see:
JCSMPTransportException: Error communicating with the router, ConnectException: Connection Refused
```

This can happen if a TLS server certificate was not configured in the Solace Messaging for PCF tile in which case the Solace Message Router will reject incoming TLS connections.
this can happen if a TLS server certificate was not configured in the Solace Messaging for PCF tile in which case the Solace Message Router will reject incoming TLS connections.

### CertificateException

Expand Down