Vault - When trying to install a certificate, it crashes with "Crypto shell extensions has stopped working" error

Vault - When trying to install a certificate, it crashes with "Crypto shell extensions has stopped working" error

105
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 12:56 PM


Symptom


When trying to install a Server Certificate on a hardened Vault server it crashes with the following error:
Crypto shell extensions has stopped working
 
 
 
 
 
 
 
 
 
 
 
 
 


Environment


11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8;12.4;12.3;12.5;12.6;12.7;13.0 Privileged Access Manager (PAM, self-hosted) Vault Server;Vault

Cause


Due to the Hardening nature of the vault, the CNG Key Isolation service is not started and you cannot install a Certificate by clicking on Certificate file on a hardened Vault.


Resolution


Option one:
Set the "CNG Key Isolation" service startup type to Automatic and attempt to start the service.
Note: in case of a HA cluster be sure to start the service on both active and passive nodes.
 
Option two:
Use the CACert utility according to the installation guide.
 
1. Create with CACert a Certificate Signing Request (CSR) CACert request
 
Sample:
cacert request /reqoutfile c:\Requests\VaultCert.req /country
"US" /locality "Boston" /org "My Company" /orgunit
"Management" /commonname "MyVault.mycompany.com" /subjalt
"IP:1.1.1.250"
 
2. Send the CSR file to the Certificate Authority to sign the Certifiable request 
 
3. After the Certificate is signed use the CACert utility to install the Certificate with the command CACert Install
 
Sample:
CACert install /CertFileName <certfile.cer>


Additional Information


Details

SYMPTOM:
When trying to install a Server Certificate on Harden vault server it crash with the error "Crypto shell extensions has stopped working"

















PROBLEM:
Due to the Hardening nature of the vault, the CNG Key Isolation service is not started
and you cannot install a Certificate by clicking on Certificate file on harden vault. 

SOLUTION:

Option one:
Set the "CNG Key Isolation" service startup type to Automatic and attempt to start the service.
Note: in case of HA cluster be sure to start the service on both active and passive node.

Option two:
Use the CACert utility according to the installation guide.
1. Create with CACert a Certificate Signing Request (CSR) CACert request
Sample:
cacert request /reqoutfile c:\Requests\VaultCert.req /country
"US" /locality "Boston" /org "My Company" /orgunit
"Management" /commonname "MyVault.mycompany.com" /subjalt
"IP:1.1.1.250"
2. Send the CSR file to the Certificate Authority to sign the Certifiable request 
3. After the Certificate is signed use the CACert utility to install the Certificate with the command CACert Install
Sample:
CACert install /CertFileName <certfile.cer>



Actions
  • Print
  • Copy Link

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