After using the Deploy the Custom Connector Software documentation page to configure the Privileged Access Manager (PAM) Custom Connector on a Windows server, the test connection fails with the following error.
Error: PAM-UI-1437: The Custom Connector server is inaccessible or its configuration is invalid.
In the Custom Connector's catalina.yyyy-mm-dd.log, the following error is observed at the time of the test connection.
SEVERE [https-jsse-nio-#-exec-#] com.ca.pam.extensions.framework.util.ExtensionAuthenticationFilter.validateAuthToken [###-###-###-###-###] [PAMTargetConnector] Authorization header cannot be decrypted:
org.jose4j.lang.InvalidKeyException: The key must not be null.
The "key must not be null" will occur when the extension_framework.properties has one or more of the following issues.
Follow these steps to resolve the issue:
extension.keystore.file value.extension.keystore.file=C:\\Program Files\\Apache Software Foundation\\Tomcat\\tcf\\ExampleKeyStoreconfigTCF directory.configTCF.cmd -Dcommand=createKeyStore -DkeyStoreFile="%CATALINA_HOME%\tcf\ExampleKeyStore" -DkeyStorePWD=ExampleKeystorePassword -Dkey=ex/ampleEncryptionKey=extension_framework.properties file with the new keystore file and encrypted password from the output.