How to collect SSL debug information to help debugging SSL handshake issue
search cancel

How to collect SSL debug information to help debugging SSL handshake issue

book

Article ID: 95027

calendar_today

Updated On:

Products

CA Application Test Service Virtualization

Issue/Introduction

How to debug an SSL handshake issue.

Environment

All supported DevTest releases.

Cause

N/A

Resolution

The HTTP and SSL Debug Viewer lets you observe the details of HTTP and SSL activity in DevTest Workstation. This feature can be helpful in performing diagnostics.  You access the viewer by selecting Help, HTTP/SSL Debug from the main menu in the WorkStation.  Refer to section "HTTP and SSL Debug Viewer" in the documentation of the version of DevTest you are running. 

An example of the SSL handshake can be found in section "SSL Handshake Summary" in the documentation of the version of DevTest you are running.


Another option is to add the following line to Workstation.vmoptions:
-Djavax.net.debug=ssl

If the problem needs to be captured from a running VS then add the ssl debug option to VirtualServiceEnvironment.options and VirtualServiceEnvironmentService.vmoptions.

Depending on the problem, the following variations can be used:
-Djavax.net.debug=ssl
-Djavax.net.debug=all
-Djavax.net.debug=ssl:handshake:verbose 

For an introduction of SSL, Java and DevTest see:
SSL, Java and DevTest

Additional Information

After adding the SSL debug configuration for a particular component, the output can be found in regular log for that component. 
For example workstation.log or vse.log