Generate SSL logs for tomcat communication with IIS
search cancel

Generate SSL logs for tomcat communication with IIS

book

Article ID: 385646

calendar_today

Updated On:

Products

CA Client Automation - IT Client Manager CA Client Automation

Issue/Introduction

If Web Admin Console is configured to use https and SSL communication with IIS (Internet Information Services), in case of SSL communication failure how to generate tomcat logs to get more information about the failure ?

Environment

Client Automation - All Version

Resolution

  1. Execute following command line to find the command line executed to start tomcat :

    ccnfcmda -cmd GetParameterValue -ps itrm/common/caf/plugins/tomcat -pn commandline_start



  2. Stop tomcat : 
    caf stop tomcat


  3. Go in directory bin of DSM :
    Ex: 
    cd /D c:\Program Files (x86)\CA\DSM\Bin

  4. Execute command line found in step 1 and add -Djavax.net.debug=ssl in command line and ..\logs\tomcat.txt 2>&1 at the end.

    Example :
    "C:\Program Files (x86)\CA\SC\JRE\1.8.0_212\bin\java.exe" -Xrs -Dfile.encoding=utf8 -Xms128m -Xmx256m -XX:MaxPermSize=256m -classpath "C:\Program Files (x86)\CA\SC\Tomcat\8.5.56\bin\bootstrap.jar";"C:\Program Files (x86)\CA\SC\Tomcat\8.5.56\bin\tomcat-juli.jar" -Dcatalina.base="C:\Program Files (x86)\CA\DSM\Web Console" -Dcatalina.home="C:\Program Files (x86)\CA\SC\Tomcat\8.5.56" -Djava.io.tmpdir="C:\Program Files (x86)\CA\DSM\Web Console\temp" -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djavax.net.debug=ssl -Djava.util.logging.config.file="C:\Program Files (x86)\CA\SC\Tomcat\8.5.56\conf\logging.properties" org.apache.catalina.startup.Bootstrap start > ..\logs\tomcat.txt 2>&1

    The command hangs and returns nothing. It is normal tomcat is running :




  5. Reproduce the problem in DSM Web Admin Console

  6. The file <dsm_path>\logs\tomcat.txt is generated and contains SSL detailed communication logs (ex: C:\Program Files (x86)\CA\DSM\logs\tomcat.txt)
    File <dsm_path>\logs\wac_log.txt could also be checked.



  7. Do a CTRL+C on the command prompt to stop tomcat.

  8. tomcat could be started again with caf : 
    caf start tomcat