Set the PKCS#11 path in the HSM configuration.

To set the PKCS#11 library path

  1. Edit the .ini configuration file associated with the administrator profile. 

    The default name of this configuration file is entrust.ini.

  2. Add the following line under the [Entrust Settings] section.  
    CryptokiV2Library=<p11_library_path>
    Where <p11_library_path> is one of the paths described below. 

Entrust nShield library path

The PKCS #11 library of the Entrust nShield hardware security modules has the following default paths.

Windows default Entrust nShield path
C:\Program Files\nCipher\nfast\toolkits\pkcs11\cknfast.dll
Linux default Entrust nShield path
/opt/nfast/toolkits/pkcs11/libcknfast.so

Thales Luna library path

The PKCS #11 library of the Thales Luna hardware security modules has the following default paths.

Windows default Thales Luna path
C:\Program Files\SafeNet\LunaClient\cryptoki2.dll
Linux default Thales Luna path
/usr/safenet/lunaclient/lib/libCryptoki2_64.so