Recorder is crashed - PSMRC057 Failed to open SCPR, reason: -2996
Symptom
Customers start a session and the session is closed due to PSM Recorder crashing.
C:\Program Files (x86)\CyberArk\PSM\Logs\Components\<sessionuuid>.Recorder.log shows the following errors:
[01/03/2024 | 17:57:31] | :: | PSMRC058 Failed to start encode SCPR, reason: 9864376
[01/03/2024 | 17:57:31] | :: | PSMRC057 Failed to open SCPR, reason: -2996
[01/03/2024 | 17:57:31] | :: | PSMRE007E PSM Recorder ended with errors. PSMRC057 Failed to open SCPR, reason: -2996 (Codes: -1, -1)
Environment
11.5;12.2;12.6;13.0;14.2 Privileged Access Manager (PAM, self-hosted);Privilege Cloud PSM;Privileged Session Management (PSM) PSM
Cause
Since the following versions of the SCPR.dll file is signed by Cyberark.
Versions:
14.2
13.0
12.6.3
12.2.8
11.5.13
Resolution
Some customers don't have the GlobalSign certificate authority installed on the PSM server and needs to be installed manually
**At this time it is not clear what is the reason that the certificate is missing **
To verify the issue you will need to check the certificate validation at the SCPR.dll file
The SCPR.dll file is located in the following path: C:\Windows\SysWOW64
*Right, Click on the File -->Properties-->Digital Signatures Tab
*Click on the CyberArk Software LTD --->Details
As we can see, there is a certification error ( It can be the Countersignatuers and or the Certificate itself )
Reach the following site and download the related missing Root Certificate
https://support.globalsign.com/ca-certificates/root-certificates/globalsign-root-certificates
Download the following:
GlobalSign Code Signing Root R45
The certificate needs to be installed on the server (Store location -->Local Machine--> Place all certificates in the following store --> Browser --> Trusted Root Certification Authorities )
--------------
If the above does not resolve the error on SCPR.dll, select the countersignatures cert at the bottom and click "Details" > "View Certificate".
If you see an issue such as "The issuer of this certificate could not be found." Then check cert manager Trusted Root Certification Authorities for "VeriSign Universal Root Certification Authority".
If VeriSign Universal Root Certification Authority is missing, it can be grabbed from another PSM in the environment or from:
https://www.digicert.com/kb/digicert-root-certificates.htm