Test the integration
This test consist of validating the key created in the HSM in section integrate-nshield-pki-hub.adoc#configure-pki-hub.
-
Login into the Entrust PKI Hub Management Console web GUI.
-
In the content pane, under Certificate Authorities, select Manage Solution.
-
Select the download arrow icon to the right of Export Configuration. Notice the compressed folder downloaded to your computer.
-
Expand the compressed folder and navigate to
Downloads\pkihub-configuration\kmdata.tar\kmdata\local
. Notice the file namedkey_encore_<Key unique identifier>
, where <Key unique identifier> is the value entered in integrate-nshield-pki-hub.adoc#configure-pki-hub. This file is the key blob corresponding to the key created in the Entrust nShield HSM. -
For the purpose of validating the key, copy the key blob to an on-premises HSM client of the same world or server
local
folder/opt/nfast/kmdata/local/
. -
Execute the following commands. Notice the key name.
root@dev-ubuntu:/opt/nfast/kmdata/local# nfkminfo -k Key list - 1 keys AppName ncore Ident pkihubkey root@dev-ubuntu:/opt/nfast/kmdata/local# rocs `rocs' key recovery tool Useful commands: `help', `help intro', `quit'. rocs> list keys No. Name App Protected by 1 Id: pkihubkey ncore testOCS rocs> exit
-
Delete this key blob from the HSM client or server. It remains in the Entrust PKI Hub.