Getting the error, Could not initialize class com.itko.lisa.utils.ssl.VSESSLContext, when deploying an HTTPS VSM

Document ID : KB000093009
Last Modified Date : 14/09/2018
Show Technical Document Details
Issue:
After enabling 'Use SSL to client' in the VSM and deploying it to the VSE, the VSM stops with the following exceptions:
 
============================================================================
| java.lang.NoClassDefFoundError: Could not initialize class com.itko.lisa.utils.ssl.VSESSLContext
============================================================================
| Step: Virtual HTTPS Listener
----------------------------------------------------------------------------
| Message: Could not initialize class com.itko.lisa.utils.ssl.VSESSLContext
----------------------------------------------------------------------------
| Trapped Exception: Could not initialize class com.itko.lisa.utils.ssl.VSESSLContext
| Trapped Message: java.lang.NoClassDefFoundError: Could not initialize class com.itko.lisa.utils.ssl.VSESSLContext
----------------------------------------------------------------------------
STACK TRACE java.lang.NoClassDefFoundError: Could not initialize class com.itko.lisa.utils.ssl.VSESSLContext
at com.itko.lisa.vse.stateful.protocol.http.HttpListenStep.getSSLContext(HttpListenStep.java:627)
at com.itko.lisa.vse.stateful.protocol.http.HttpListenStep.execute(HttpListenStep.java:462)
at com.itko.lisa.test.TestNode.executeNode(TestNode.java:984)
at com.itko.lisa.test.TestCase.execute(TestCase.java:1297)
at com.itko.lisa.test.TestCase.execute(TestCase.java:1198)
at com.itko.lisa.test.TestCase.executeNextNode(TestCase.java:1183)
at com.itko.lisa.test.TestCase.executeTest(TestCase.java:1124)
at com.itko.lisa.coordinator.Instance.run(Instance.java:208)
============================================================================
Environment:
All supported DevTest releases.
Cause:
When one of the SSL properties is not properly set in the properties files it can cause the VSE to have issues initializing the SSLContext class.

The issue can also happen if there are any corrupted files in vseDeploy/VSE_2013 folder.
Resolution:
1. Open the local.properties file and search for SSL properties enabled.
Verify if the path, passwords, and alias for the keystores provided are correct.

Usually, there is something not properly set with the properties below:
ssl.client.cert.path=
ssl.client.cert.pass=
ssl.client.key.pass=
ssl.client.alias=

ssl.server.cert.path=
ssl.server.cert.pass=
 
To verify whether these properties are causing the issue, comment out the properties, restart the VSE and try deploying the HTTPS VSM.
Additional Information:
For more information regarding the SSL properties, please verify the link below:
https://docops.ca.com/devtest-solutions/10-3/en/reference/property-descriptions/custom-property-files/local-properties-file/#LocalPropertiesFile-SSLProperties