Failed to Load PKCS11 Keystorage Driver

Failed to Load PKCS11 Keystorage Driver

101
Created On 11/10/26 10:56 AM - Last Modified 11/10/26 16:00 PM


Symptom


Applies To

Venafi TLS Protect Datacenter when a Hardware Security Module is in use

Problem

When installing Venafi TLS Protect to an existing environment with HSM software installed on the server, the following error message can appear:

Failed to pre-start the Venafi Framework (KeyStore subsystem); error: Unable to start the sub-system "Keystore"; error: Failed to load PKCS11 KeyStorage driver (DN: \VED\Encryption\{Name of HSM Object}). Error: The specified module could not be found [4294967295]
Screenshot_2023-05-01_at_12.52.40_PM.png

Cause

This error occurs when the TLS Protect server is looking for the HSM .dlls that are used in the rest of the environment but are not appearing where it is expected.

Resolution

When adding additional servers to an environment that utilizes an HSM, the HSM software needs to be installed in the same exact directory as the other servers. Also the slot and serial information on the HSM needs to match the rest of the environment or else this error will appear.



Actions
  • Print
  • Copy Link

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