Setup

  1. Install and configure the Security World software. For instructions, see the Delinea Secret Server nShield Integration Guide.

  2. Add the Security World utilities path C:\Program Files\nCipher\nfast\bin to the Windows system path.

  3. Open port 9004 in the firewall for inbound and outbound traffic for the HSM connection.

  4. Open port 9005 in the firewall for inbound and outbound traffic for remote administration using a nShield Trusted Verification Device (TVD).

  5. 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:

    1. How To: Locally Set up a new or replacement nShield Connect

    2. How To: Set up new or replacement nShield 5s

    3. How To: Remotely Setup a new or replacement nShield Connect

    4. How To: Remotely Setup a new or replacement nShield Connect XC Serial Console

    These articles require a TrustedCare sign-in.

  6. Configure the HSM to allow the Secret Server host as a client. For instructions, see Configuring the nShield HSM to use the client.

  7. 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.

  8. Run the enquiry utility to confirm that the HSM is correctly configured:

  9. Copy
    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
                
  10. 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.

  11. Run the nfkminfo utility to confirm the Security World is operational and usable:

  12. Copy
    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
    ...
                    
  13. 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.

  14. 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=1
    Module only Yes Yes CKNFAST_FAKE_ACCELERATOR_LOGIN=1

    Set 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.

  15. Create a shortcut to C:\Program Files\nCipher\nfast\bin\nShield_service_agent.exe and temporarily place it on the desktop.

  16. Press the Windows+R, enter shell:startup, and select OK.

  17. Move the shortcut into the Startup folder.

  18. Restart the server, then confirm that the nShield service agent icon appears in the notification area.