Azure Key Vault Connection Fails with Error, “The certificate certificate does not have a private key”

Azure Key Vault Connection Fails with Error, “The certificate certificate does not have a private key”

122
Created On 11/10/26 10:56 AM - Last Modified 11/10/26 16:06 PM


Symptom


After upgrading Certificate Manager, Self-Hosted (f.k.a. Venafi TPP) to 25.1 or higher, provisioning certificates to Azure Key Vault fails with the following error:

 

Azure Key Vault - Certificate Import Error "The certificate could not be imported into the key vault. Error: Failed to install a certificate in the key vault. The certificate certificate does not have a private key.

 

Installation Validation and Onboard Discovery also fail with similar errors.



Environment


TPP/TLSPDC TLSPDC

This issue occurs when the TPP servers are running Windows Server 2016.



Cause


The underlying PKIX enhancements introduced in 25.1 brought a new policy setting: "Pkcs#12 Encryption Algorithm". The default setting for this value is an algorithm that is incompatible with Windows Server 2016. As such, when the provisioning, validation, etc. are initiated from a TPP server that cannot leverage the stronger algorithm, it fails indicating the certificate used for authentication does not have a private key.



Resolution


Change the policy setting for Pkcs#12 Encryption Algorithm" to something such as: PBE-SHA1-3DES. This will be done on the policy folder where the certificate credential for Azure's connection is stored. Please contact Customer Support for assistance in changing this policy value if you have issues.



Actions
  • Print
  • Copy Link

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