PTA - Error "Certificate is not valid or signature algorithm is not at least SHA256" when importing PTA certificate
Symptom
When installing the certificate in PTA server by running /opt/tomcat/utility/run.sh - option 15. Installing SSL Certificate Chain (Root, Intermediate(s), PTA Server certificates), an error is thrown:
Unexpected error. See /opt/tomcat/prepwiz/logs/prepwiz.log for more details.
An error occured while importing PTA server certificate. Command output: Certificate is not valid or signature algorithm is not at least SHA256
Environment
13.0;14.0;14.2;14.4;14.6 Privileged Access Manager (PAM, self-hosted) PTA
PTA
Cause
This might be due to not specifying the PTA certificate file with the full path in the 1st question. For example, only specifying the directory path.
e.g.
Specify PTA Server Certificate full path: /tmp
Do you have a Root Certificate (y/n)?: y
Specify your Root Certificate full path (for example: /tmp/RootCertificate.crt): /tmp/root.cer
Do you have Intermediate certificate(s) (y/n)?: y
Specify Intermediate Certificate full path: /tmp/intermediate.cer
Do you have an additional Intermediate Certificate (y/n)?: n
Resolution
Make sure to specify the full file path for the PTA Server certificate when answering the first question.
e.g.
Specify PTA Server Certificate full path: /tmp/PTA.cer