How to enable Java SSL Debugging for Cloud Data Protection

book

Article ID: 168999

calendar_today

Updated On:

Products

CDP Integration Server

Issue/Introduction

Enabling Java SSL Debugging is useful for digging deeper into troubleshooting certificate or SSL connectivity issues.

 

Resolution

Depending on the O/S, either the start.sh script or the /etc/init.d/apprtx* scripts have to be modified.

Syntax:
-Djavax.net.debug=all \


1) Modify start scripts

container/start.sh:
Add the following parameter: -Djavax.net.debug=all \
 

Example:
java    -Dfile.encoding=UTF8 \
        -Djavax.net.debug=all \
        -server \
        <truncated>


/etc/init.d/apprtx_*:


Example:
cmd="java -server -Djavax.net.debug=all -XX:+UseG1GC -XX:+UseBiasedLocking -XX:-UseLargePages -XX:LargePageSizeInBytes=128m -Xms4G -Xmx12G -Xmn1G -XX:MaxPermSize=512m -jar lib/container-server-4.7-SNAPSHOT.jar -type APP_PROTEX_SERVER -isb.properties  /usr/local/perspecsys/container/isb.properties"

 

2) Restart services for changes to take effect.

3) Open the console.out file to view SSL debug logs

3) Once debugging is complete, revert changes and restart services