Configuration
Configure the CNG API
-
Select Windows Start > Entrust > CNG configuration wizard. The nShield CNG Providers Configuration Wizard opens.
Select Next twice.
-
Select Use the existing security world if one was created in Setup.
Select Next twice.
-
Select Module Protection. If you use OCS protection, insert the OCS card into the slot and select it, and then select Next.
-
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.
-
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.
-
Select Next, and then select Finish.
-
Run
certutil -csptest > <filename>on a command window. For example:certutil -csptest > Documents\cryptographic-providers. -
Search for
Provider Name: nCipherin the file created above, and make sure that it showsPassin the response:
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
-
Copy the PKCS #11 DLL to the Secret Server
pkcs11folder:-
Copy the
cknfast.dllfromC:\Program Files\nCipher\nfast\toolkits\pkcs11. -
Paste it in the
pkcs11folder hereC:\inetpub\wwwroot\SecretServer\pkcs11.
-
-
Update the
cknfastrcfile:-
Navigate to
C:\Program Files\nCipher\nfast. -
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.