Troubleshooting TLS configuration issues
Enabling the TLS debug log messages
Issue: If there are any TLS configuration issues, the relevant cell service logs do not have related messages to identify the issues.
Resolution: The following section helps you to enable TLS logs so that the TLS related information is logged in the files:
To enable TLS debug log messages for TrueSight Infrastructure Management
Do the following:
Using a text editor, open and edit the following configuration files:
Component
Process
Configuration file
TLS debug log file
TrueSight Infrastructure Management
JServer
(Windows and Linux) <Infrastructure Management Server Installation Directory>\TrueSight\pw\pronto\conf\pnjserver.conf
Truesight.log
Rate
(Windows and Linux) <Infrastructure Management Server Installation Directory>\TrueSight\pw\pronto\conf\pnrate.conf
Truesight.log
Integration Service
(Windows and Linux) <Infrastructure Management Server Installation Directory>\TrueSight\pw\pronto\conf\pnagent.conf
Truesight.log
pronet_cntl
(Windows and Linux) <Infrastructure Management Server Installation Directory>\TrueSight\pw\pronto\conf\pnagentcntl.conf
Truesight.log
Add the -Djavax.net.debug parameter and set it to ssl as shown in the following code block, and save the files:
#Debug -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005
Option=Debug -XDebug -XNoagent -Djavax.net.debug=ssl -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005- (Applicable only to the Rate process) Run the following command to print the log messages in the <Infrastructure Management Server Installation Directory>\TrueSight\pw\pronto\logs\debug\rate.log file:
pw debug on -p rate -s rate (Applicable only to the Agent Controller process) Run the following command to print the log messages in the <Infrastructure Management Server Installation Directory>\TrueSight\pw\pronto\logs\debug\pronet_cntl.log file:
pw debug on -p pronet_cntl -s pronet_cntlRestart the JServer, Rate, Integration Service, and pronet_cntl processes.
TLS related information and errors will be printed in the <Infrastructure Management Server Installation Directory>\TrueSight\pw\pronto\logs\Truesight.log file.
To enable TLS debug log messages for Publishing Server
- Go to the <Infrastructure Management Server Installation Directory>\TrueSight\pw\server\bin directory.
- Using a text editor, open and edit the following file:
- (Windows) pserver.bat
- (Linux) pserver.sh
Add the -Djavax.net.debug parameter and set it to ssl in the PS_JVM_ARGS variable as shown in the following code block, and save the file:
set PS_JVM_ARGS=-Dps=DUMMY -Djava.library.path="%ATRIUM_CMDB_HOME%" -Dorg.apache.activemq.SERIALIZABLE_PACKAGES="*" -Djavax.net.debug=sslRestart the pserver process.
TLS related information and errors will be printed in the <Infrastructure Management Server Installation Directory>\TrueSight\pw\server\tmp\<ps_name>\pserver.out file.
To enable TLS debug log messages for Impact Integration Web Services (IIWS) server
Microsoft Windows
- Go to the <IIWS Installation Directory>\Tomcat\bin directory.
- Create a file named setenv.bat.
- Add the following line in the setenv.bat file:
set JAVA_OPTS= -Djavax.net.debug=ssl - Stop the Windows service in the IIWS server.
- Go to the <IIWS Installation directory>\Tomcat\bin directory.
- From the command prompt, run the following command to start Tomcat:
catalina start > stdout.txt 2>&1
This command will open a new window and start displaying the SSL log messages.
Linux
- Go to the <IIWS Installation Directory>/Tomcat/bin directory.
- Create a file named setenv.sh.
- Add the following line in the setenv.bat file:
JAVA_OPTS=' -Djavax.net.debug=ssl ' - Stop the IIWS server by running the following command:
./BMCImpactWebService stop - Start the IIWS server by running the following command:
./BMCImpactWebService start
The SSL logs will be printed in the <IIWS Installation Directory>/Tomcat/logs/catalina.out file.
To enable TLS debug log messages for TrueSight Presentation Server
- Go to the <Presentation Server Installation Directory>\truesightpserver\conf\services directory.
- Open and edit the csr.conf file.
Add the -Djavax.net.debug parameter and set it to ssl as shown in the following code block, and save the file:
vm.args.system.<number>=-Djavax.net.debug=sslRestart the Presentation Server.
TLS related information and errors will be printed in the <Presentation Server Installation Directory>\truesightpserver\logs\session.stdout file.
Where to go from here