ITACM027S Communication error. (Diagnostic information: 527, 1103, '97')

ITACM027S Communication error. (Diagnostic information: 527, 1103, '97')

183
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 16:05 PM


Symptom


PVWA is failing with the following message: Server Error in '/PasswordVault' Application. Access with the PrivateArk client is still working as expected. Vault italog shows error messages:

 

ITACM027S Communication error. (Diagnostic information: 527, 1103, '97')

ITATS103E Safe key is incorrect.

 

There are also multiple logon failures including DR, PasswordManager, and PVWAAppUser.



Environment


11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8;12.3;12.5;12.6;14.2;14.4 Privileged Access Manager (PAM, self-hosted) Password Vault Web Access
  • Password Vault Web Access
  • Vault Server


Cause


Hardware Security Module (HSM) error causing logons to fail.



Resolution


This resolution is intended only for environments configured with HSM.

 

The following steps are intended to diagnose that the issue is with HSM:

 

  1. On Vault Server, enable the CRYPT(1,2) debug level.
    1. Go to the Vault server Administration Console >Administration >Debug Level > Set Dynamically. 
    2. Add the following: ",CRYPT(1,2)"
    3. Click Ok
    4. The new debug levels should be displayed in the italog.
  2. Reproduce the logon error on PVWA.
  3. Find the vault server trace log at: <drive>:\Program Files (x86)\PrivateArk\Server\Logs. Sort by last modified date and find the most recently modified trace.d* log file.
  4. In the trace.d* file, there should be entries similar to the following:

 

C_DecryptInit executing on SessionId=40, Key Handle: 54

C_Decrypt executing on SessionId=40

C_Decrypt failed, SessionId=40, Rv:179

ITACM093E PKCS#11 device returned with error (-1).

 

These indicate that the root cause is an error with HSM.

 

In dbparm.ini, check if the parameter ReconnectHSMOnErrorCodes is present. If not, then insert the following line:

 

ReconnectHSMOnErrorCodes=48,50,179

 

This is described in KB:

How to configure the Vault to reconnect to a HSM

https://community.cyberark.com/s/article/How-to-configure-the-Vault-to-reconnect-to-a-HSM

 

If there is a DR Vault, check the PADR.log to confirm that DR replication occurred successfully recently.

 

Restart the Vault. In the Vault Server Administration Console, click the Red stoplight icon. Once Vault stops completely, then click the Green light to start the Vault. Do not use services.msc to restart Vault. The Vault stop and restart must occur in a specific sequence.


Check the italog for any error messages.  There may be error with PVWAAppUser logon failure, but other users such as DR and PasswordManager should be able to log on now.  Re-enable the CRYPT(1,2) debug level and check the trace.d* file.  If the HSM connection is functioning correctly, then there should be entries similar to:

C_DecryptInit executing on SessionId=28, Key Handle: 54
C_Decrypt executing on SessionId=28

Reset the PVWA cred files. See KB specific for your version:
https://community.cyberark.com/s/article/PVWA-How-to-create-update-credential-files-for-PVWA-manually
https://community.cyberark.com/s/article/PVWA-How-can-I-create-or-update-the-credential-files-credfile-for-the-PVWA-manually-VERSION-12-1-1-and-above-ONLY

Test the PVWA Logon page. The PVWA should be functioning correctly now.  



Actions
  • Print
  • Copy Link

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