PrivateArk Client - ITACM020S The server could not complete the operation because the vault was temporarily unavailable. If this error recurs, please logoff from the vault, logon again and retry the operation. (Diagnostic information: 520,513,10054)
Symptom
When trying to log into Private Ark client the following error occurs:
ITACM020S The server could not complete the operation because the vault was temporarily unavailable. If this error recurs, please logoff from the vault, logon again and retry the operation.
(Diagnostic information: 520,513,10054)
The same can be seen in the PALog.
In the vault trace.dx log we can see the following error for the user logon operation:
ITAPE287E System error (Code: 287, Diagnostic information: userid, 1, 0).
Environment
13.0;13.2;13.1;14.0;13.3 Privileged Access Manager (PAM, self-hosted) Cyber-Ark Client PrivateArk Client
Cause
This issue is caused if there is a problem in the pre-authentication secured session process, most likely due to an issue with the vault's certificate post upgrade to a 13.0 version or higher.
When pre-authentication secured session is used in PA Client, we can see the following lines in trace before the logon operation -
START 7616 Unknown[00] 0=GetServerCertificateServý115=6.0.510.0ý FROM 127.0.0.1
START PE 7616 Unknown[00] ServiceName=GetServerCertificateServVersion=6.0.510.0
END PE 7616 Unknown[00] ServiceName=GetServerCertificateServVersion=6.0.510.0 OK - Output Size = 512 Output Records Count = 3
END 7616 Unknown[00]
There is a new certificate requirement from version 13.0 onward:
"The Vault certificate must have a Public Key size of at least 4096. Reissue the certificate before upgrading.
Otherwise, components and clients that have Preauthsecuredsession configured to Yes on the client side cannot log in."
Here is a link to Vault 13 release notes:
https://docs.cyberark.com/pam-self-hosted/13.0/en/Content/Release%20Notes/RN-WhatsNew13-0.htm?Highlight=%22the%20vault%20certificate%22#Installationandupgradenotes
Resolution
Workaround:
Try a 'PrivateArk authentication' without "Use pre-authentication secured session" selected in the Advanced PA client authentication settings:
Note - Above Workaround will work for ' PrivateArk Authentication' only. For any other 'Authentication method' follow below mentioned solution.
Solution:
-Ensure the vault certificate is valid.
-If using a CA signed certificate), re-issue the certificate and ensure that the public key size is at least 4096.
-If you are using a Self-Signed Certificate on your Vault Server, please do the following to update the self-signed certificate. Open an administrative command prompt at the /Server location on the vault server. Then run the following command:
CACert.exe uninstall
This will uninstall the old self-signed certificate and install a new one.
Note: After the command has been run, you will need to restart the PrivateArk Vault service.