PTA - Tomcat HTTPS Connector Fails to Start
Symptom
Tomcat does not start.
RUN_DIAGNOSTICS shows:
Executing task: './tasks/PTA/task028.sh ' - [P028] Verifying Tomcat HTTPS connector availability... [ FAIL ] Tomcat HTTPS connector is not up.
From the logs, the webserver fails to start:
14-Apr-2022 15:02:37.567 SEVERE [main] org.apache.catalina.core.StandardService.initInternal Failed to initialize connector [Connector[HTTP/1.1-8443]]
org.apache.catalina.LifecycleException: Protocol handler initialization failed
...
Caused by: java.lang.IllegalArgumentException: Keystore was tampered with, or password was incorrect
Environment
12.0;12.1;12.2 Privileged Access Manager (PAM, self-hosted) PTA
PTA Other
Cause
The issue might be caused due to the certificate used by the PTA.
Resolution
Reset the certificate to the default certificate that comes with the PTA.
To do so, please execute the following script:
/opt/tomcat/utility/certificateConfiguration.sh
The script will reinstall the self-signed certificate and clear current keystore.
Please restart the PTA server after running the script.