- Issue a code-signing certificate by using a CA on the Vectera Plus.
- Import an existing code-signing certificate as a PKCS #12 file onto the Vectera Plus.
Issue a code-signing certificate
This section uses FXCLI to create a new Certificate Authority (CA) on the Vectera Plus. A later section uses the new CA to issue a code signing certificate.Connect to the Admin TLS port on the HSM by using the connect tcp command.
Before connecting, you must configure the TLS certificates in FXCLI by using the
tls commands. For additional details, see the FXCLI HSM technical reference on the Futurex Portal.Log in with both default Admin identities. When prompted, enter the username and password. Run the following command twice (once for Admin1 and once for Admin2):
FXCLI
Run the following command to generate a new key in the next available key slot on the Vectera Plus. Use this key in the next task to create a self-signed CA.
FXCLI
Run the following command to create a CA certificate using the key that was generated on the HSM in the previous step:
FXCLI
The preceding command outputs the CA certificate to the location specified in the —out flag.
Run the following command to generate a new key in the next available key slot on the Vectera Plus. Use this key in a later task to create a CSR for the code signing certificate.
FXCLI
Run the following command to assign CodeSigningKeyPair to the label PKCS #11 attribute of the key created in the preceding step:
FXCLI
The value set in the —slot flag must match the key slot where you created the CodeSigningKeyPair.
Import an existing certificate
This section uses FXCLI to import an existing code-signing certificate in PKCS #12 format onto the Vectera Plus.The code signing certificate PKCS #12 file must contain only the code signing certificate and its associated private key. Do not include CA certificates in the file.
Connect to the Admin TLS port on the HSM by using the
connect tcp command.Before connecting, you must configure the TLS certificates in FXCLI by using the
tls commands. For additional details, see the FXCLI HSM technical reference on the Futurex Portal.Log in with both default Admin identities. When prompted, enter the username and password. Run the following command twice (once for Admin1 and once for Admin2):
FXCLI
Run the following command to import the private key of an existing code-signing certificate that is in PKCS #12 format:
The code-signing certificate passed into this command must be in PKCS #12 format because this format contains the private key of the code-signing certificate in the file, encrypted under a password.
FXCLI

