Vault - "Certificates store is not in a recognized format. (Code: -24)" error when running CACERT command

Vault - "Certificates store is not in a recognized format. (Code: -24)" error when running CACERT command

99
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 13:03 PM


Symptom


When running the following command:
CACert.exe setca /add <CA_CERTIFICATE>

, the following message is returned:
Certificates store is not in a recognized format. (Code: -24)


Environment


10.5;10.10;11.5;11.6;11.7;12.0;12.2;12.6;13.0 Privileged Access Manager (PAM, self-hosted) Vault PAM, Vault

Cause


It could be that the CA file's store destination path specified in the TrustedCAPath parameter in dbparm.ini (%Program Files%\PrivateArk\Server on the Vault server) points to the same location as the <CA_CERTIFICATE>, which is the source of the CA file.

Additional Information


Details

SYMPTOM:

When running the following command : CACert.exe setca /add <CA_CERTIFICATE>, the following message is returned:

"Certificates store is not in a recognized format. (Code: -24)"


PROBLEM:

It could be that the CA file's store destination path specified in the TrustedCAPath parameter in dbparm.ini (%Program Files%\PrivateArk\Server on the Vault server) points to the same location as the <CA_CERTIFICATE>, which is the source of the CA file.


SOLUTION:

Change the path for TrustedCAPath to a non-existing one and run the command again.

 

Related Solution: #00002260




Actions
  • Print
  • Copy Link

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