Install the Security World software

This chapter describes how to install the Security World Software on the computer, client, or RFS associated with your nShield HSM.

If you are upgrading an existing installation make sure you have made backup copies of any Security World data files and nShield 5s ssh-keys before you continue.

After you have installed the software, you must complete further Security World creation, configuration and setup tasks before you can use your nShield environment to protect and manage your keys.

Verify the installation media

The installation media is signed with the Entrust OpenPGP release key. The same key is used to sign the other nShield ISO images, including the CodeSafe, Remote Administration Client (RAC), and firmware images. The procedure in this section applies to all of these images. Verifying the signatures before you install the software confirms that the files came from Entrust and arrived without modification or loss during transit.

There are two signatures, each covering different content:

<image>.iso.asc

Covers the disc image as a whole. It is a separate file, supplied alongside the .iso file, and is not on the media. Use it to verify the .iso file, before you mount it.

SHA256SUMS.asc

Covers SHA256SUMS, which lists the SHA-256 digest of every file on the media except SHA256SUMS and SHA256SUMS.asc. Both files are in the top-level folder of the media, so you do not need to download or relocate them. Use them after mounting the image, when checking physical media or a copy of files from the media, or when <image>.iso.asc is unavailable.

Verification needs GnuPG. It is installed by default on most Linux distributions. If GnuPG is not installed, install the gnupg2 package (gpg2 on SUSE Linux Enterprise). On Windows, install Gpg4win and run the same commands from a command prompt.

Check the release key

The release public key is in the top-level folder of the media as pubkey.asc. To check a downloaded image before you mount it, use the copy in The release key instead. The copy on the media is there for convenience only. Because the copy travels with the files it authenticates, an attacker who could alter the media could also replace the key, so the copy on the media proves nothing on its own. Trust is established by comparing the key’s fingerprint with the fingerprint below, which comes from this guide rather than from the media. The key is also reproduced in The release key, so you can obtain it directly from this guide without needing the media.

Show what the file contains, without adding it to your keyring:

gpg --show-keys pubkey.asc

The output must list exactly one key with this fingerprint:

pub   rsa4096 2023-01-11 [SCEA] [expires: 2030-01-06]
      DC17ECB0C55280DA006B60F6225FC6BC0347CDCF
uid                      Entrust-DPS <devops@ncipher.com>

If the output lists more than one key, or the fingerprint differs, stop. Do not install the software. Instead, contact Entrust nShield Support at https://trustedcare.entrust.com/.

A file that contains the genuine key can also contain other keys, and any key can carry the name Entrust-DPS <devops@ncipher.com>. The name does not identify the key; only the fingerprint does.

The fingerprint is the permanent identity of the key. It remains the same across releases and does not change when the expiration date shown alongside it is extended. Check the fingerprint, not the expiration date or the contents of pubkey.asc.

gpg --show-keys needs GnuPG 2.2.8 or later. GnuPG 2.1.23 and later can display the same information without adding the key to your keyring, using the following command:

gpg --import --import-options show-only pubkey.asc

The gpg --verify commands in the following sections check signatures against the keys in your keyring, so import the key after checking it:

gpg --import pubkey.asc

The output must include Total number processed: 1.

If your version of GnuPG is older than 2.1.23, import the key first and then check it:

gpg --import pubkey.asc
gpg --fingerprint devops@ncipher.com

The output of gpg --fingerprint must list exactly one key, with the fingerprint shown in groups of four characters: DC17 ECB0 C552 80DA 006B 60F6 225F C6BC 0347 CDCF. If it lists any other key, stop and do not verify anything with that keyring. Remove the other key with gpg --delete-keys <fingerprint> and contact Entrust nShield Support at https://trustedcare.entrust.com/.

Importing keeps the key on your machine for future releases. If you would rather not add it to your keyring, see Verify without importing the key.

The release key

The key is printed here so that you can obtain it from this guide rather than from the files it authenticates. Expand the block below and save it to a file called pubkey.asc, then use it in place of the copy on the media. In the web version of this guide, you can instead download the same file: entrust-dps-pubkey.asc. If you download it, save it as pubkey.asc so that the commands in this section work unchanged.

If you copy the block from a PDF, preserve the line breaks and the blank line after the first line as shown here. GnuPG rejects the file if the text has been reflowed.

Armored public key
-----BEGIN PGP PUBLIC KEY BLOCK-----

mQINBGO++mwBEACqf5upVpOHQ3/VhUZHQkSJOqVGztfnVRonO0ZtOQxZ/1Oa0qHU
IaSia2E449j+EYZOkqPb6/UOf6OWYMh/oMGut1iYEBkJ5/IlK179RkH1WKw3BeDX
1Z++b/T1W3bHPC9hhzVitDw0ZQ38sBvYVL33XYcA3fZDz9oa07BBOXthTcMr4V0Q
COmr0zASIupadjF9WO9MiQhBKnQvN++4YS6MXwBs3X0lqu30zJhtWmYDKnQc9ykI
y6D2OZwtjQIwTu43zevDKPEt2+V8zqGTV+BctUtHQ4HjwyOyQwU918i7xu+On+zD
3dkcX46QCFcxifmegp2/cHm1d+WPZb4cjMV6HmPntKBpGeIh+oXn6JrDRAWR0Kse
v0Pwiq+2C9iC/mixVPZaHIg1pawXyqkNeT/w4EzmN2uaNYm2bgW5vyYW2cTfaZOV
R9w2zUXtxSV/OJMp9mHr2JetuH69h5BpaSG4FpA2+Ulk5tiN1aKivVBdDUZkI4F9
ycZYAh7tb+zhmdwMeM4wzOIM6ThXWOgE4NmjXYQ2IXDgmUXH7iyyDQOcfhMT9v3U
DM/s+6Ig7l5RFCz4VGxb8lAeRZjVkeh9M1Yq+0HYNFiCnSfBFvKGzPy+A78BLQqO
4Ja131uW114ywgs6H+qTAaQIE9U3RCCOfRWXVIIuClIuJnJKK6z8aQSJowARAQAB
tCBFbnRydXN0LURQUyA8ZGV2b3BzQG5jaXBoZXIuY29tPokCVAQTAQoAPgIbLwUL
CQgHAgYVCgkICwIEFgIDAQIeAQIXgBYhBNwX7LDFUoDaAGtg9iJfxrwDR83PBQJn
fQufBQkNJBKzAAoJECJfxrwDR83PDIoP/AlnFqQO1wBEVZXf+39pFfh3SIVF/YgB
afokEAKGUvrhL12KCdWQWBYbXBDLiIaxT6RHEiI9W0bQgcJBAkuB05ykiQa45Var
GdsBgFhSjXq+/lCf6QVaZ6rpV1JlMeMypKCn1EQQcMQQJiIhu/MtTLf/YrbgUaqi
cQBLci82R9K0jxY1GPSRaDJi6IzQFKbjRGoHGT9mvG6H1kAiM6Z/ejNAVEOBmNik
cCPWkGYzeaQDQyCfG+pZ1/IZAA5Xc+DgWRXxA0ChEXfbd0hBINXSwGf+BKGEw2i6
nQB+zjyzGVlPyDiMg6Aeiaq7EVZtodkWxdDs5mibaGphtVaFRhnMZje8601ogJGB
pGdne8euiczR0GVtDNu8VuwzC6Aj2SnNMaC1T5BDTvfs8yeSwIAi0wOIwClZawsI
czr4ntpbuSv+qz/pUFmelLp+tRUtabkZR9uG5P1xVYuC9uZwwEolYyDwPfjy9sQV
dlkOKRznFJcbUd8bgRzJCoIfBYVUmZv7exdiryzFMqdVFgw8Ax80YFR16gVRm+HP
yLlhd1ROPMv5x1H6EPMKVQB18eApQlWnDQ1vCC7IzwDkzZOiUjEsrt7gGgf4S21m
IeaYvVcPbqDWAYthZtBHoZCbYn16jUtAurAbTLhCrt7QIqz50eVr3GRfM31Cmdei
bUX3lVF+1989
=2Wu3
-----END PGP PUBLIC KEY BLOCK-----

If GnuPG reports this copy as expired, the expiration date on the key has been extended since this guide was published. Use pubkey.asc from the media instead, and check its fingerprint against the one in Check the release key. Extending the expiration date does not change the fingerprint.

Verify the disc image

Save <image>.iso.asc in the same folder as the .iso file you downloaded. In that folder, run:

gpg --verify <image>.iso.asc <image>.iso

Check the output as described in Reading the results.

Verify the files on the media

Check the manifest even after <image>.iso.asc has verified the image as a whole. The manifest lets you verify files after copying them from the media. It also lets you verify the contents if you have the image but not its detached signature, for example, if the image was distributed within your organization without the signature.

Mount the image, or insert the disc, and change to the top-level folder of the media. This folder contains SHA256SUMS, SHA256SUMS.asc and pubkey.asc. If you are checking a copy of the files, change to the folder that holds the copy of SHA256SUMS.

Verify the manifest first. sha256sum and its equivalents only confirm that the files match the manifest. This result is meaningful only after you confirm that the manifest is genuine:

gpg --verify SHA256SUMS.asc SHA256SUMS

Check the output as described in Reading the results.

Then check the files against the manifest. On Linux:

sha256sum --check SHA256SUMS

Windows has no sha256sum, so use PowerShell instead:

Get-Content SHA256SUMS | ForEach-Object {
    $digest, $file = $_ -split '\s+', 2
    $actual = (Get-FileHash -Algorithm SHA256 -LiteralPath $file).Hash
    if ($actual -eq $digest) { "OK: $file" } else { "FAILED: $file" }
}

On media with many files, a FAILED: line is easy to miss among the OK: lines. To show only failures, add | Where-Object { $_ -notlike 'OK:*' } on the same line after the final }. The check then prints nothing if every file matches.

On Windows, file names on an ISO image are shortened to 64 characters. Some files on the Linux images have longer names, so the check reports them as missing. Check the Linux images on Linux.

You can run these commands against either the disc or a copy of its contents, so the files remain verifiable after you copy them from the media.

These commands check only the files listed in SHA256SUMS. They do not report files that are present but not listed. Before you install from a file, check that its path is listed in SHA256SUMS.

Verify without importing the key

gpgv checks a signature against a keyring you name on the command line and leaves your own keyring untouched. Use it in place of gpg --verify if you do not want to import the release key. It is part of GnuPG on Linux and part of Gpg4win on Windows.

gpgv reads keyrings in GnuPG’s binary format rather than the armored text in pubkey.asc. Check pubkey.asc as described in Check the release key, then convert it once, writing the result to a directory you can write to, such as your home directory:

gpg --output <dir>/release-key.gpg --dearmor pubkey.asc

Then verify against that file. The keyring name must include a directory, for example ./release-key.gpg if it is in the current directory. With a bare file name, gpgv looks for the keyring in your GnuPG home directory instead, and reports keyblock resource '…​': No such file or directory followed by Can’t check signature: No public key.

gpgv --keyring <dir>/release-key.gpg <image>.iso.asc <image>.iso
gpgv --keyring <dir>/release-key.gpg SHA256SUMS.asc SHA256SUMS

gpgv reports the full fingerprint of the key that created the signature. Check that it matches the fingerprint in Check the release key:

gpgv: Signature made Mon 06 Jul 2026 11:24:03 BST
gpgv:                using RSA key DC17ECB0C55280DA006B60F6225FC6BC0347CDCF
gpgv: Good signature from "Entrust-DPS <devops@ncipher.com>"

Older versions of gpgv, such as 2.0, show only the key ID 0347CDCF, so use gpg --verify instead.

gpgv exits with status 0 for a good signature from any key in the keyring, status 1 for a bad signature, and status 2 when the keyring does not contain the signing key. An exit status of 0 does not by itself show that the release key made the signature; the fingerprint on the using RSA key line does. gpgv treats every key in the keyring as trusted, so it does not print the trust warning described in Reading the results. It also does not report that a key has been revoked.

Reading the results

A good signature from the release key produces output like this:

gpg: Signature made Mon 06 Jul 2026 11:24:03 BST
gpg:                using RSA key DC17ECB0C55280DA006B60F6225FC6BC0347CDCF
gpg: Good signature from "Entrust-DPS <devops@ncipher.com>" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: DC17 ECB0 C552 80DA 006B  60F6 225F C6BC 0347 CDCF

Check that the fingerprint on the using RSA key line, or on the Primary key fingerprint line, is the fingerprint in Check the release key. GnuPG 2.5, included in current Gpg4win releases, omits the Primary key fingerprint label from that line and prints the fingerprint without spaces: DC17ECB0C55280DA006B60F6225FC6BC0347CDCF. Older versions of GnuPG, such as 2.0, show only the key ID 0347CDCF on the using RSA key line, so check the Primary key fingerprint line. Do not rely on the name in the Good signature from line, because any key can carry that name.

The warning that the key is not certified with a trusted signature is expected and is not a failure. It means GnuPG has no independent reason of its own to believe the key belongs to Entrust; the fingerprint check in Check the release key is what establishes that.

Do not install the software if the output contains any of the following:

  • BAD signature: the file does not match its signature. gpg exits with status 1.

  • Can’t check signature: No public key: the key that made the signature is not in your keyring. gpg exits with status 2. If you have not imported the release key, import it as described in Check the release key and try again.

  • WARNING: This key has been revoked by its owner!: the key has been revoked. gpg still reports Good signature and exits with status 0. Contact Entrust nShield Support at https://trustedcare.entrust.com/.

If the output includes Note: This key has expired!, see The release key.

sha256sum --check prints OK for each file and exits with status 0. The PowerShell equivalent above prints OK: followed by each file name, or nothing if you added the filter. A line reporting FAILED means the media is damaged or has been altered. For a listed file that is missing, sha256sum reports FAILED open or read, and PowerShell reports an error followed by FAILED: and the file name. sha256sum --check then exits with status 1. Do not install from the media.

Installing the Security World Software on Windows

Before you begin, verify the installation media as described in Verify the installation media.

For information about configuring silent installations and uninstallations on Windows, see Using silent installations.

For a regular installation:

(nShield 5s only) Installing Security World software on Windows via Remote Desktop Connection can result in a brief loss of RDP connection. If this happens, it will happen during the Status: part of the installation, towards the end. When the session reconnects, the installation carries on until completion.
  1. Sign in as an Administrator or as a user with local administrator rights.

    If the Found New Hardware Wizard appears and prompts you to install drivers, cancel this notification, and continue to install the Security World Software as normal. Drivers are installed during the installation of the Security World Software.
  2. Place the Security World Software installation media in the optical disc drive.

  3. Launch setup.msi manually when prompted.

  4. Follow the onscreen instructions.

  5. Accept the license terms and select Next to continue.

  6. Specify the installation directory and select Next to continue.

  7. Select all the components required for installation.

    By default, all components are selected. Use the drop-down menu to deselect the components that you do not want to install. nShield Hardware Support and Core Tools are necessary to install the Security World Software.

    See Software packages on the installation media for more about the component bundles and the additional software supplied on your installation media.

  8. Select Install.

    The selected components are installed in the installation directory chosen above. The installer creates links to the following nShield Cryptographic Service Provider (CSP) setup wizards as well as remote management tools under Start > Entrust or Entrust nShield Security World (depending on the version of Windows or Windows Server you are running):

    • If nShield CSPs (CAPI, CNG) was selected: 32bit CSP install wizard, which sets up CSPs for 32-bit applications

    • If nShield CSPs (CAPI, CNG) was selected: 64bit CSP install wizard, which sets up CSPs for 64-bit applications

    • If nShield CSPs (CAPI, CNG) was selected: CNG configuration wizard, which sets up the CNG providers

    • If nShield Remote Administration Client Tools was selected: Remote Administration Client, which runs the remote administration client

    If selected, the SNMP agent will be installed, but will not be added to the Services area in Control Panel > Administrative Tools of the target Windows machine. If you wish to install the SNMP agent as a service, consult the nShield SNMP Monitor v13.9.9 Install and User guide.

    (PCIe HSMs only) Do not run any CSP installation wizard before installing the module hardware.
  9. Select Finish to complete the installation.

    The following global variables are set upon install:

    • %NFAST_CERTDIR%

    • %NFAST_HOME%

    • %NFAST_KMDATA%

    • %NFAST_LOGDIR%

    • %NFAST_SERVICES_HOME% (nShield 5s only)

  10. Add C:\Program Files\nCipher\nfast\bin to the Windows system path.

  11. (nShield 5s only) If you are using an nShield 5s, complete the additional steps for nShield 5s.

  12. (PCIe HSMs only) If you are using a PCIe HSM, you might need to update the power saving settings:

    1. In Windows Device Manager > Security Accelerator (nShield Solo) or Windows Device Manager > Network adapters (nShield 5s), select the appropriate module.

    2. Under Properties > Power Management, deselect Allow the computer to turn off this device to save power.

Additional steps for nShield 5s

  1. Stop the nFast Server service.

  2. The nShield installer creates and enables an inbound rule called nShield 5s mDNS to allow UDP port 5353 for any program. This enables the discovery of nShield 5s modules. If enrollment fails to find any modules in the following step, check that this firewall rule is present and enabled; if it does not exist, create it manually and retry enrollment.

  3. Set up the secure communication channels between the host PC and the HSM:

    "%NFAST_HOME%\bin\hsmadmin" enroll

    The HSM must be in factory state or else the registered sshadmin key must be in place otherwise this command will fail. If you have a backup of your sshadmin key, you can restore it using hsmadmin keys restore. If this is not a first-time installation of this HSM, and the sshadmin key trusted by this HSM is no longer available, enter recovery mode and then retry enrollment.

    From firmware versions 13.5 onwards, the secure communication channels between the host PC and the HSM are protected by internally generated certificates. The hsmadmin enroll command automatically validates certificates as part of the enrollment process and produces a warning if it fails to find a certificate for any service. This warning is expected if the HSM:

    • is in recovery mode

    • is running a firmware version prior to 13.5

    • has been upgraded to a firmware version of 13.5 or later but has not performed a factory state operation since the upgrade.

    If you receive this warning in any other circumstance you should contact Entrust support.

  4. Start the nFast Server service.

  5. If Remote Administration is installed, also start the nFast Remote Administration service.

  6. Entrust recommends that you take a backup of your sshadmin key with hsmadmin keys backup path\to\backup_key for backups that will be restored to the same machine. Note that this key will not be usable on another machine or if the OS is re-installed as it has protections tied to the local machine. For backups that may be restored to a different machine or re-installed OS, use hsmadmin keys backup --passphrase path\to\backup_key to protect the key with a user-supplied passphrase. Replace path\to\backup_key with the actual path to where the backup key should be written in the example commands above.

Install the Security World software on Linux

Before you begin, verify the installation media as described in Verify the installation media.

  1. Sign in and enter a root shell.

  2. Mount the DVD/ISO image.

  3. Extract the required files if you are using .tar or install the rpm packages.

    The current rpm packages are:

    rpm package Description

    nShield-hwsp

    Hardware Support package.

    nShield-ctls

    Management utilities.

    nShield-ctd

    Developer package example programs and libraries.

    nShield-devref

    Reference Documentation for the nCore API.

    nShield-driver-nfp

    nShield Solo XC drivers.

    nShield-driver-nShield5

    nShield 5s drivers.

    nShield-javasp

    Java provider.

    nShield-jd

    Java development software.

    nShield-ncsnmp

    SNMP provider.

    nShield-raserv

    Remote Administration service.

    <disc-name>

    Name of the mount point of the installation media

    <ver>

    Architecture of the operating system, for example, i386 or amd64

    <file.tar>

    Name of the .tar.gz file for the component

    <file.rpm>

    Name of the .rpm file for the component

From tar files

If you already have an earlier version of the nShield software installed you must run the uninstall script before proceeding with a tar installation:

bash /opt/nfast/sbin/install -u
  1. Change to the directory containing the tar.gz packages:

    cd <disc-name>/linux/ver/
  2. Install the required software components using tar:

    tar -C / -xf <file>.tar.gz
You must always unpack the hwsp.tar.gz archive for new installations.

Linux PCI driver installation

If you are using nShield PCI cards you must compile the PCI drivers. To do this you must first install the kernel development tooling and headers for your running kernel.

Check that you have the correct kernel headers:

ls -l /lib/modules/$(uname -r)/build

The above should print a symlink to your kernel headers. If you see No such file or directory you will need to install the correct kernel development packages for your OS.

Compile drivers for nShield Solo+ or SoloXC:

cd /opt/nfast/driver
make clean
make
make install

Compile drivers for nShield5:

cd /opt/nfast/driver-nshield5
make clean
make
make install

Finally, You must run the nShield install script:

bash /opt/nfast/sbin/install

From RPM packages

  1. Change to the RPMs folder:

    cd <disc-name>/linux-rpms/amd64/
  2. Check the Entrust RPM signing public key in pubkey.asc in this folder:

    gpg --show-keys pubkey.asc

    This is the same key that signs the installation media itself. The output must list exactly one key, with the fingerprint shown in Check the release key. If it does not, stop and contact Entrust nShield Support at https://trustedcare.entrust.com/. rpm --import trusts every key in the file, and the check in the following steps accepts packages signed by any key that rpm trusts.

  3. Import the key into rpm:

    rpm --import pubkey.asc
  4. Verify that each .rpm file is signed:

    rpm --checksig <file>.rpm

    For a correctly signed package, the output ends with digests signatures OK, for example:

    nShield-hwsp-<version>.x86_64.rpm: digests signatures OK

    Check for the word signatures. For a package that has no signature, rpm --checksig prints digests OK and exits with status 0. Output containing NOT OK means that either the package is signed by a key that rpm does not trust or the package has been altered. In either case, rpm --checksig exits with status 1.

    digests signatures OK means that the package is signed by a key that rpm trusts, which includes the keys of your operating system vendor and any other keys imported on the machine. To confirm that the Entrust key made the signature, run:

    rpm --checksig -v <file>.rpm

    Every line of the output that reports a signature must end with key ID 0347cdcf: OK. 0347cdcf is the last eight characters of the fingerprint in Check the release key.

    Do not install a package unless both checks pass.

Using dnf (Red-Hat Enterprise Linux and Oracle Enterprise Linux)

  1. Install the required software and driver packages by running dnf.

    dnf install --repofrompath=nc,<location of rpm packages> <package name> <package name>

    For example:

    dnf install --repofrompath=nc,/mnt/linux-rpms/amd64/ nShield-ctls nShield-raserv
    Added nc repo from /mnt/linux-rpms/amd64/
    Last metadata expiration check: 0:04:04 ago on Mon Dec  2 11:08:31 2024.
    Dependencies resolved.
    ======================================================================================
     Package            Arch       Version                               Repository  Size
    ======================================================================================
    Installing:
     nShield-ctls       x86_64     13.7.3-1.1732201800.6eef148ee17       nc          58 M
     nShield-raserv     x86_64     13.7.3-1.1732201800.6eef148ee17       nc         344 k
    Installing dependencies:
     nShield-hwsp       x86_64     13.7.3-1.1732201800.6eef148ee17       nc          71 M
     net-tools          x86_64     2.0-0.52.20160912git.el8              baseos     321 k
     procps-ng          x86_64     3.3.15-14.el8                         baseos     329 k
    
    Transaction Summary
    ======================================================================================
    Install  5 Packages
    
    Total size: 130 M
    Total download size: 650 k
    Installed size: 558 M
    Is this ok [y/N]:

Using zypper (SUSE Enterprise Linux)

  1. Add the nc repository to zypper.

    zypper addrepo --gpgcheck-allow-unsigned-repo <location of rpm packages> nc

    For example:

    zypper addrepo --gpgcheck-allow-unsigned-repo /mnt/linux-rpms/amd64/ nc
    Adding repository 'nc' ..................................................................................................................................[done]
    Repository 'nc' successfully added
    
    URI         : dir:/mnt/linux-rpms/amd64
    Enabled     : Yes
    GPG Check   : Yes
    Autorefresh : No
    Priority    : 99 (default priority)
    
    Repository priorities are without effect. All enabled repositories share the same priority.
  2. Install the required software and driver packages by running zypper.

    zypper install -y --from nc <package name> <package name>

    For example:

    zypper install -y --from nc nShield-ctls nShield-raserv
    Refreshing service 'Basesystem_Module_15_SP6_x86_64'.
    Refreshing service 'Python_3_Module_15_SP6_x86_64'.
    Refreshing service 'SUSE_Linux_Enterprise_Server_15_SP6_x86_64'.
    Refreshing service 'Server_Applications_Module_15_SP6_x86_64'.
    Building repository 'nc' cache ..........................................................................................................................[done]
    Loading repository data...
    Reading installed packages...
    Resolving package dependencies...
    
    The following 3 NEW packages are going to be installed:
      nShield-ctls nShield-hwsp nShield-raserv
    
    The following 3 packages have no support information from their vendor:
      nShield-ctls nShield-hwsp nShield-raserv
    
    3 new packages to install.
    
    Package download size:   135.0 MiB
    
    Package install size change:
                  |     660.5 MiB  required by packages that will be installed
       660.5 MiB  |  -      0 B    released by packages that will be removed
    
    Backend:  classic_rpmtrans
    Continue? [y/n/v/...? shows all options] (y): y
    Retrieving: nShield-hwsp-13.7.3-1.1743026563.3b0b57a351a.x86_64 (nc)                                                                       (1/3),  76.6 MiB
    Retrieving: nShield-raserv-13.7.3-1.1743026563.3b0b57a351a.x86_64 (nc)                                                                     (2/3), 347.8 KiB
    Retrieving: nShield-ctls-13.7.3-1.1743026563.3b0b57a351a.x86_64 (nc)                                                                       (3/3),  58.1 MiB
    
    Checking for file conflicts: ............................................................................................................................[done]
    (1/3) Installing: nShield-hwsp-13.7.3-1.1743026563.3b0b57a351a.x86_64 ...................................................................................[done]
    (2/3) Installing: nShield-raserv-13.7.3-1.1743026563.3b0b57a351a.x86_64 .................................................................................[done]
    (3/3) Installing: nShield-ctls-13.7.3-1.1743026563.3b0b57a351a.x86_64 ...................................................................................[done]
    %posttrans(nShield-hwsp-13.7.3-1.1743026563.3b0b57a351a.x86_64) script output:
    ...
     ---- Installation complete ----
    Running post-transaction scripts ........................................................................................................................[done]
If you require them, you can include all the optional RPM packages (such as javasp, raserv or ncsnmp) in the same command line.
If you require PCI drivers to be built and installed you must include the nShield-driver-nfp RPM for Solo+/SoloXC modules or the nShield-driver-nshield5 RPM for nShield5 modules. This will install the required kernel packages and compile the PCI drivers. If however you change your kernel at a later date, you must re-build the drivers manually as explained in Linux PCI driver installation above.

If you are upgrading from an earlier version of nShield you will not need to manually uninstall any RPMs before upgrading.

If you are installing several RPM packages at the same time you may notice the install script is executed multiple times. This is normal and does not indicate a problem.

Additional steps for nShield 5s

The RPMs and install script will automatically run the /opt/nfast/bin/hsmadmin enroll command. From firmware versions 13.5 onwards the secure communication channels between the host PC and the HSM are protected by internally generated certificates. The /opt/nfast/bin/hsmadmin enroll command automatically validates certificates as part of the enrollment process and produces a warning if it fails to find a certificate for any service. This warning is expected if the HSM:

  • is in recovery mode

  • is running a firmware version prior to 13.5

  • has been upgraded to a firmware version of 13.5 or later but has not performed a factory state operation since the upgrade.

    If you receive this warning in any other circumstance you should contact Entrust support.

(nShield 5s only) Entrust recommends that you take a backup of your sshadmin key.

For example, you could use hsmadmin keys backup /root/.ssh/id_nshield5_sshadmin for backups that will be restored to the same machine. If the path /root/.ssh/id_nshield5_sshadmin is used, and the sshadmin key is missing from the usual installed location under /opt/nfast, then that key will be used automatically when running the nShield install script.

Note that this key will not be usable on another machine or if the OS is re-installed as it has protections tied to the local machine. For backups that may be restored to a different machine or re-installed OS, use hsmadmin keys backup --passphrase /path/to/backup_key to protect the key with a user-supplied passphrase (replacing /path/to/backup_key with the actual path to where the backup key should be written).

After installing the software

After you have successfully installed the Security World Software, complete the following steps to finish preparing your HSM for use:

  1. Ensure that your public firewall is set up correctly.
    See Before you install the software.

  2. nShield 5s: If the SSH keys have not been set up, create the communication path between the host machine and the HSM, as described in Set up communication between host and module (nShield 5s HSMs).

    If you followed all the steps in the installation instructions when installing the software, this should already be set up.
  3. Network-attached HSMs: Perform the necessary basic HSM-client configuration tasks, as described in Basic HSM and remote file system (RFS) configuration.

  4. PCIe and USB HSMs: If necessary, perform additional software and HSM configuration tasks, as described in Client software and module configuration: PCIe and USB HSMs:

  5. Create and configure a Security World, as described in Create a new Security World.

  6. Create an OCS, as described in Creating Operator Card Sets (OCSs).

  7. Network-attached HSMs: Complete additional necessary HSM-client configuration tasks:

    1. To configure the unit so that it works with the client machine, see Configuring the nShield HSM to use the client.

    2. To configure client computers so that they work with the unit, see Configuring client computers to use the nShield HSM.

      For this release, you must generate a new client configuration file to take advantage of new functionality. To generate a new client configuration file, back up your existing configuration file and run cfg-mkdefault. This generates a template for the configuration file into which you can copy the settings from your old configuration file.
    3. To enable the TCP sockets for Java applications, run the command:

      config-serverstartup -sp

      For more information, see Client configuration utilities.

      When all additional HSM configuration tasks are completed, you can:

      1. Stop and then restart the hardserver, as described in Stopping and restarting the hardserver.

      2. Test the installation and configuration.