Install and configure the Entrust nShield HSM
This section applies to on-premises applications. In nSaaS applications, the Entrust PKI Hub obtains key management data as defined by the nSaaS service.
Deploy a Linux server and install the Security World software on it. Configure this server as a client of the HSM, then create a Security World and OCS.
The Entrust Cryptographic Security Platform PKI Hub utilizes the key management data from this server.
Install the Entrust nShield HSM
Install the nShield Connect HSM locally, remotely, or remotely using the serial console. Condensed instructions are available in the following Entrust nShield Support articles.
| Access to the Entrust nShield Support Portal is available to customers under maintenance. To request an account, contact nshield.support@entrust.com. |
The complete instruction set is available at nShield Hardware Install and Setup Guides.
For detailed instructions, see the nShield documentation.
Install the Entrust nShield Security World Software and create the Security World
This section applies to the server on which the Entrust nShield HSM infrastructure is deployed.
-
Install the Security World software. For detailed instructions, see the nShield documentation.
-
Add the Security World utilities path to the system path. This path is typically
/opt/nfast/bin. -
Open firewall port 9004 for the Entrust nShield HSM connections.
-
If using remote administration, open firewall port 9005 for the Entrust nShield Trusted Verification Device (TVD).
When using a FIPS 140 Level 3 Security World, you cannot use a TVD. The OCS card must be presented in the front slot of the HSM. -
Configure the server as a client of the Entrust nShield HSM.
-
Open a command window and run the following command to confirm that the Entrust nShield HSM is operational.
root@dev-ubuntu:~# enquiry Server: enquiry reply flags none enquiry reply level Six serial number mode operational version 13.9.6 ... Module #1: enquiry reply flags UnprivOnly enquiry reply level Six serial number 92C8-8591-52EB mode operational version 13.8.6 ... -
Create your Security World or copy an existing one. Follow your organization’s security policy when doing so.
ACS cards cannot be duplicated after the Security World is created. You may want to create extras according to your organization’s security policy. -
Confirm the Security World is
usable.root@dev-ubuntu:~# nfkminfo World generation 2 state 0x3737000c Initialised Usable ... ... Module #1 generation 2 state 0x2 Usable
Edit the configuration files
This section applies to the server on which the Entrust nShield HSM infrastructure is deployed.
-
Edit the configuration file
/opt/nfast/cknfastrc, adding the lines shown below. Set the file permissions to read and execute for all users.CKNFAST_OVERRIDE_SECURITY_ASSURANCES=none CKNFAST_LOADSHARING=1 -
Edit the configuration file
/opt/nfast/kmdata/config/cardlist. Add the serial numbers of the remote-administration-ready OCS smart cards or a wildcard. -
Restart the Security World software.
% sudo /opt/nfast/sbin/init.d-ncipher restart
Create the OCS
OCS cards are presented to the HSM’s physical smart card reader. For more information about OCS use, properties, and k-of-N values, see the nShield documentation.
If you have an existing Entrust nShield HSM infrastructure, you can use an existing OCS (k=1) that corresponds to your world or you can create a new one. The quorum (k) in k-of-N must be 1 for this application.
If you create a new OCS, follow your organization’s security policy and set k=1.
| OCS cards cannot be duplicated after they are created. You may want to create extras according to your organization’s security policy. When using a FIPS 140 Level 3 Security World, you cannot use a TVD. The OCS card must be presented in the front slot of the HSM. |