- Initialize Vault.
- Generate managed keys on the CryptoHub for the Root and Intermediate CA.
- Enable the PKI secrets engine for the Root and Intermediate CA.
- Create a Root CA certificate from the managed key generated on the CryptoHub.
- Create a CSR for the Intermediate CA from the managed key generated on the CryptoHub.
- Use the managed Root CA to issue the Intermediate CA certificate from a CSR.
- Issue a leaf certificate from the managed Intermediate CA.
Initialize Vault
Before performing PKI operations, you must initialize, unseal (if required), and log in to Vault.In a different terminal window from where Vault is running, set the
VAULT_ADDR and PIN environment variables.Shell
Set the
PIN value to the CryptoHub identity password configured inside the <CRYPTO-OPR-PASS> tag in the fxpkcs11.cfg file.Initialize Vault.
We do not recommend using 1 for both the key shares and the key threshold in production.
Shell
The output should look similar to the following example:
None
Generate managed keys
Perform the following steps to generate managed keys on the CryptoHub for the Root and Intermediate CA:Generate a managed key on the CryptoHub for the Root CA.
Shell
You must always set the value specified in the
token_label field to Futurex.The value specified in the
library field must match the value set in the name field of the kms_library stanza in the following Vault configuration file.Text
Enable the PKI secrets engine
Perform the following steps to enable the PKI secrets engine for the Root and Intermediate CA:Create a Root certificate
Perform the following steps to create a Root CA certificate from the managed key generated on the CryptoHub:Create a CSR
Perform the following steps to create a Certificate Signing Request (CSR) for the Intermediate CA from the managed key generated on the CryptoHub:Create a CSR for the Intermediate CA with its corresponding managed key and output it to a file.
The following command requires installing the jq package, which processes JSON output, on your system.
Shell
Use the Root CA to issue the certificate
Perform the following steps to use the managed Root CA to issue the Intermediate CA certificate from a CSR:Issue the Intermediate CA certificate from the CSR by using the managed Root CA and output it to a file.
The following command requires installing the jq package, which processes JSON output, on your system.
Shell

