1.2k questions

1.4k answers

361 comments

339 users

Categories

Sidebar
+1 vote
1.3K views
by gary-t-8719 (15.1k points)
retagged by gary-t-8719
I need to see additional information about why the secure TLS connection is not being established.

1 Answer

+1 vote
 
Best answer
To enable additional SSL logging, use the following java option:
-Djavax.net.debug=ssl,handshake
This will cause additional log messages to be included in the qieLauncher.log.x file.
 
NOTE: Since this will cause your log files to grow large, you will want to disable this option and restart QIE once you have finished debugging your SSL connection.  A common way to do this, while still preserving the option for future reference is to add .OFF to the option as follows:
-Djavax.net.debug.OFF=ssl,handshake
Other options that can be used with the -Djavax.net.debug= java option are as follows:
all              turn on all debugging
ssl              turn on ssl debugging
 
The following can be used with ssl:
    record       enable per-record tracing
    handshake    print each handshake message
    keygen       print key generation data
    session      print session activity
    defaultctx   print default SSL initialization
    sslctx       print SSLContext tracing
    sessioncache print session cache tracing
    keymanager   print key manager tracing
    trustmanager print trust manager tracing
    pluggability print pluggability tracing
 
    handshake debugging can be widened with:
    data         hex dump of each handshake message
    verbose      verbose handshake message printing
 
    record debugging can be widened with:
    plaintext    hex dump of record plaintext
    packet       print raw SSL/TLS packets
 

 

by ron-s-6919 (4.5k points)
selected by sam-s-1510
by ben-s-7515 (13.0k points)
A good explanation of the TLS handshake logs can be found here: http://docs.oracle.com/javase/1.5.0/docs/guide/security/jsse/ReadDebug.html
...