Configuration

Configure the CNG API

  1. Select Windows Start > Entrust > CNG configuration wizard. The nShield CNG Providers Configuration Wizard opens.

    Select Next twice.

  2. Select Use the existing security world if one was created in Setup.

    Select Next twice.

  3. Select Module Protection. If you use OCS protection, insert the OCS card into the slot and select it, and then select Next.

  4. If the Machine Key Access Control window appears, select the option that meets your security and operational requirements, specify the service account that the Secret Server application pool runs as, and then select Next.

  5. If the User Key Access Control window appears, select the option that meets your security and operational requirements, leave Namespace keys to the SID of the creating user selected, and then select Next.

  6. Select Next, and then select Finish.

  7. Run certutil -csptest > <filename> on a command window. For example: certutil -csptest > Documents\cryptographic-providers.

  8. Search for Provider Name: nCipher in the file created above, and make sure that it shows Pass in the response:

Copy
Provider Name: nCipher Security World Key Storage Provider
Name: nCipher Security World Key Storage Provider
HWND Handle:Binary:
0000 00 00 00 00 00 00 00 00 ........
Impl Type: 17 (0x11)
NCRYPT_IMPL_HARDWARE_FLAG -- 1
NCRYPT_IMPL_HARDWARE_RNG_FLAG -- 10 (16)
Version: 786512 (0xc0050)
Pass
...

Configure PKCS #11

  1. Copy the PKCS #11 DLL to the Secret Server pkcs11 folder:

    1. Copy the cknfast.dll from C:\Program Files\nCipher\nfast\toolkits\pkcs11.

    2. Paste it in the pkcs11 folder here C:\inetpub\wwwroot\SecretServer\pkcs11.

  2. Update the cknfastrc file:

    1. Navigate to C:\Program Files\nCipher\nfast.

    2. Add the environment variable required by your protection method, as listed in the protection-method table in Setup. Softcard protection requires CKNFAST_LOADSHARING=1.

If Secret Server does not load after you enable the HSM, or you see CKR_FUNCTION_FAILED, see Troubleshooting.