After SDM Services are restarted (either for planned maintenance, or from unplanned outages), we receive the following error message when attempting to connect to PAM Workflows:
"There is a problem accessing CA IT PAM Workflow - please try again or contact the administrator. Details: ; nested exception is: java.net.SocketException: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.SSLContextImpl$DefaultSSLContext)"
This seems to happen even after following approaches documented in Enabling SDM to ITPAM Communications When ITPAM is SSL Enabled
Service Desk Manager v17.2 and higher
For some unknown reasons, the keystore access/contents seem to be getting mixed up
type c:\windows\paradigm.ini
C:\Users\Administrator>type c:\windows\paradigm.iniThis next command shows the location of JRE that SDM is using so that we can navigate to that directory.
[PARADIGM]
NX_ROOT=C:/PROGRA~2/CA/SERVIC~1
NX_LOCAL=C:/PROGRA~2/CA/SERVIC~1
NX_OS_TYPE=WINNT
[Product]
type=CA Service Desk Manager
version=17.0.0.228
C:\Users\Administrator>
nx_env | findstr /i JRE
C:\Users\Administrator>nx_env | findstr /i JRE
NX_JRE_INSTALL_DIR=C:/Program Files (x86)/CA/SC/JRE/11.0.18
NX_JDBC_DRIVER_CLASSPATH=C:/PROGRA~2/CA/SERVIC~1/java/lib/mssql-jdbc-7.2.2.jre8.jar;C:/PROGRA~2/CA/SERVIC~1/java/lib/ojdbc8.jar
This next command navigate the current working directory to the bin folder within the JRE installed with Service Desk:
cd "C:/Progra~2\CA\SC\JRE\11.0.18\bin"
C:\Users\Administrator>cd C:/Progra~2/CA/SC/JRE/11.0.18\bin
C:\Program Files (x86)\CA\SC\JRE\11.0.18\bin>
keytool -importcert -file c:\progra~1\CA\servic~1\pdmconf\capamtest.cer -keystore ..\lib\security\cacerts -storepass changeit -alias capam
keytool -importcert -file c:\progra~1\CA\servic~1\pdmconf\capamtestissuing.cer -trustcacerts -keystore ..\lib\security\cacerts -storepass changeit -alias pam-issuing
keytool -importcert -file c:\progra~1\CA\servic~1\pdmconf\capamtestroot.cer -trustcacerts -keystore ..\lib\security\cacerts -storepass changeit -alias pam-root
If JRE is to be upgraded in future, the certs need to be imported again into that JRE.
This article explains how to configure SDM to work with an ITPAM installation where SSL is enabled Enabling SDM to ITPAM Communications When ITPAM is SSL Enabled