PSMP Ticketing System Integration failed with 'SSL peer certificate or SSH remote key was not OK' in PSMPTrace log

PSMP Ticketing System Integration failed with 'SSL peer certificate or SSH remote key was not OK' in PSMPTrace log

146
Created On 11/10/26 11:01 AM - Last Modified 11/10/26 15:54 PM


Symptom


The error shows in PSMPTrace.log

 

PSMPIN001I PSM infrastructure library exception occurred. PSMPIN402E Failed to impersonate as user VaultUserA_xxxx via PVWA. Error: 001E Failed to perform request (Reason=[SSL peer certificate or SSH remote key was not OK]) (Codes: -1, -1)

 

The command below indicates an error to get local issuer certificate

#echo | openssl s_client -connect PVWA02.domain.dm.com:443 -showcerts

CONNECTED(00000003)

depth=1 DC = com, DC = dm, DC = domain, CN = xxxxxxx

verify error:num=20:unable to get local issuer certificate

verify return:1

....

 



Environment


12.6;13.2;14.0 Privileged Access Manager (PAM, self-hosted) PSMP PSMP Security
 


Cause


The PVWA Certificate chain or the root certificate might not be included in the /etc/pki/tls/certs/ca-bundle.crt file.
 



Resolution


1) Ensure there are no duplicate certificates for the PVWA host (or root CA) in the file /etc/pki/tls/certs/ca-bundle.crt on the PSMP host.

You can list all certificates with the following command:

#openssl crl2pkcs7 -nocrl -certfile /etc/pki/tls/certs/ca-bundle.crt | openssl pkcs7 -print_certs -text -noout

Go through the list and remove certificates for PVWA host (or root certificate) that are duplicated or no longer valid.

2) Add the chain of the PVWA certificates to the /etc/pki/tls/certs/ca-bundle.crt file as documented in https://docs.cyberark.com/pam-self-hosted/Latest/en/Content/PASIMP/PSMP-ConfigureTicketing.htm?Highlight=ticketing%20system#InstallaPVWAcertificateauthorityonPSMforSSH
 



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000sGbCAI&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail