Vault HSM - ITATS103E Safe key is incorrect in ITAlog with 224 error returned in traces, vault is unresponsive

Vault HSM - ITATS103E Safe key is incorrect in ITAlog with 224 error returned in traces, vault is unresponsive

151
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 13:01 PM


Symptom


In an environment where HSM is used to store the vault keys, the production Vault becomes unavailable with the following error appearing in ITAlog: 
 
ITATS103E Safe key is incorrect


The following appears in the trace logs:
 

2019-02-24 09:59:27.711 00003744 C_DecryptInit failed, SessionId=36, Key Handle: 2000001, Rv:224
2019-02-24 09:59:27.711 00003744 ITACM093E PKCS#11 device returned with error (224)


Restarting the PrivateArk Server service resolves the issue at least temporarily



Environment


10.0;10.1;10.2;10.3;10.4;10.5;10.6;10.7;10.8;10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;14.2 Vault using HSM to store keys

Cause


Error 224 means CKR_TOKEN_NOT_PRESENT, which is a code returned from the HSM device

It will require the HSM administrator to check the HSM log to determine what happened in the HSM.


Resolution


In DBparm.ini

1 Set ReconnectHSMOnErrorCodes=224
2 Restart the vault

If the issue persists:

1 Set DebugLevel=PE(1),PERF(1),CRYPT(1)  in DBparm.ini
2 Restart the vault.
3 Collect the logs for Support to further investigate.


Actions
  • Print
  • Copy Link

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