Error "ITATP158E Change Server Keys command finished with errors. Reason: Change server keys failed. Code 10" experienced when performing ChangeServerKeys action

Error "ITATP158E Change Server Keys command finished with errors. Reason: Change server keys failed. Code 10" experienced when performing ChangeServerKeys action

121
Created On 11/10/26 11:03 AM - Last Modified 11/10/26 15:58 PM


Symptom


After deploying a new Vault instance using the provided AMI within AWS, it is a requirement to change server keys with KMS using the following documentation: Change Server Keys in the Cloud | Idira Docs

However, when performing step 2 of section "Change the server key on the Primary Vault", the following error is observed, and it is not possible to continue with this process:

CHSRVK044E Ilegal private recovery key C:\Keys\RecPrv.key
CHSRVK042I ChangeServerKeys process ended.
ITATP158E Change Server Keys command finished with errors. Reason: Change server keys failed. Code 10. Change server keys failed. Code 10



Environment


12.2 Privileged Access Manager (PAM, self-hosted) Vault Server Vault Server ChangeServerKey

Cause


Incorrect RecPrv.key is being used for this procedure



Resolution


To prevent this error from appearing, ensure that the correct RecPrv.key is being used (defined within the Vault "dbparm.ini" file) and retry the rekey procedure as outlined in the documentation provided within the Issue section of this Article.



Actions
  • Print
  • Copy Link

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