Setup
-
Install and configure the Security World software. For instructions, see the Delinea Secret Server nShield Integration Guide.
-
Add the Security World utilities path
C:\Program Files\nCipher\nfast\binto the Windows system path. -
Open port 9004 in the firewall for inbound and outbound traffic for the HSM connection.
-
Open port 9005 in the firewall for inbound and outbound traffic for remote administration using a nShield Trusted Verification Device (TVD).
-
Install the nShield 5c or nShield Connect XC HSM locally, remotely, or remotely through the serial console. For condensed instructions, see the following Entrust TrustedCare articles:
These articles require a TrustedCare sign-in.
-
Configure the HSM to allow the Secret Server host as a client. For instructions, see Configuring the nShield HSM to use the client.
-
Enroll the Secret Server host as a client of the HSM. For instructions, see Configuring client computers to use the nShield HSM.
In a high-availability setup, repeat steps 6 and 7 for each HSM.
-
Run the
enquiryutility to confirm that the HSM is correctly configured: -
Create your Security World, if one does not already exist, or copy an existing one. Follow your organization’s security policy for this. For more information, see Create a new Security World.
new-world -i -m <module_number> -Q <K/N>After an ACS card set has been created, the cards cannot be duplicated. You may need to create extra ACS cards in case of a card failure or a lost card.
-
Run the
nfkminfoutility to confirm the Security World is operational and usable: -
Select the protection method that authorizes access to the Secret Server keys protected by the HSM. Your choice determines which API you can use and which environment variable you must set.
Set the variable as a system environment variable, or add it to
C:\Program Files\nCipher\nfast\cknfastrc. -
Select the protection method that authorizes access to the Secret Server keys protected by the HSM. Your choice determines which API you can use and which environment variable you must set. For more information about each method, see Entrust's documentation linked in the table.
Method CNG PKCS #11 Environment Variable Operator card set (OCS) Yes Yes None Softcard No Yes CKNFAST_LOADSHARING=1Module only Yes Yes CKNFAST_FAKE_ACCELERATOR_LOGIN=1Set the variable as a system environment variable, or add it to
C:\Program Files\nCipher\nfast\cknfastrc.If you use OCS protection, create the card set with a quorum of 1 (1-of-N). Leave the passphrase blank for CNG, or set a passphrase for PKCS #11.
In a FIPS 140 Level 3 Security World, an OCS card must be inserted to use softcard or module-only keys.
-
Create a shortcut to
C:\Program Files\nCipher\nfast\bin\nShield_service_agent.exeand temporarily place it on the desktop. -
Press the Windows+R, enter
shell:startup, and select OK. -
Move the shortcut into the Startup folder.
-
Restart the server, then confirm that the nShield service agent icon appears in the notification area.
C:\Users\Administrator>enquiry
Server
enquiry reply flags none
enquiry reply level Six
serial number <ESN-of-HSM>
mode operational
version 13.6.18
...
Module #1
enquiry reply flags UnprivOnly
enquiry reply level Six
serial number <ESN-of-HSM>
mode operational
version 13.4.5
...
Module #2
enquiry reply flags UnprivOnly
enquiry reply level Six
serial number <ESN-of-HSM>
mode operational
version 12.72.4
C:\Users\Administrator>nfkminfo
World
generation 2
state 0x37270008 Initialised Usable ...
...
Module #1
generation 2
state 0x2 Usable
...
Module #1 Slot #0 IC 0
generation 1
phystype SmartCard
...
error OK
...
Module #1 Slot #1 IC 0
generation 1
phystype SoftToken
...
error OK
...
Module #2
generation 2
state 0x2 Usable
...