I am trying to configure BE/RMS for TLS/SSL connections, but the connection fails when the application is started. How can I get more details on why the SSL handshake was unsuccessful?
Issue/Introduction
Outlines the steps needed to obtain more verbose logging details related to SSL/TLS connections.
Resolution
To get more detailed logging on SSL/TLS-related errors, you may set the Java property -Djavax.net.debug=all in your BE/RMS application's JVM arguments. To do this in Studio, open your project's CDD file in the Studio CDD editor and go to the 'Collections' tab. In the Collections view, highlight your log configuration. Scroll down to where you see the options for 'Send to Terminal'. Select the following options:
Enable
Include Output
Include Error
Then save the changes.
Next, add the -Djavax.net.debug=all property to your JVM arguments. If you are running your application in Studio using a Run Configuration, you may set this under the 'Main' tab > 'VM Arguments' section (as shown below).
If you are running your application outside of Studio, you may set the -Djavax.net.debug=all property in your *.tra file as follows:
java.property.javax.net.debug=all
Now when you run your application, you will see additional messages to help troubleshoot the issue. For example..