Certificate management
Windows Certificate Store

Generate a key pair and certificate on the CryptoHub

5min

This section describes the steps to generate a key pair, CSR, and certificate and then sign the certificate.

Connect and log in to the through FXCLI

1

Run the FXCLI application.

2

Configure TLS certificates for communication between FXCLI and the by using the tls set of commands.

Run tls help to access syntax documentation.

3

Connect to the using the following command:

FXCLI

4

Log in to the with the default Admin1 and Admin2 identities by running the following command twice, entering the username and password when prompted:

FXCLI


Generate a new key pair on the

1

Generate a new key pair in the next available key slot on the . (Note: Modify the key usage values to match your specific requirements.)

FXCLI

2

Confirm which key slot the private key was added to:

FXCLI

3

Assign a PKCS11 label to the key. You must set this field so certutil can find the key on the .

The PKCS11 label value should match the name that you set for the key pair in the generate command.

FXCLI


Generate a Certificate Signing Request (CSR)

1

Generate a Certificate Signing Request (CSR) from the new key pair that was created on the :

Shell


Create a Certificate Authority

1

Create a new key pair in the next available key slot on the :

FXCLI

2

Create a CA certificate from the key pair that was created on the :

FXCLI

3

Confirm which key slot the private key was added to:

FXCLI

4

Assign a PKCS11 label to the key. You must set this field so certutil can find the key on the .

The PKCS11 label value should match the name that you set for the key pair in the generate command.

Text


Sign the CSR using the Certificate Authority

1

Sign the IgDemo CSR that you created by using the self-signed CA certificate:

FXCLI


Modify the key usage values to match your specific certificate requirements.

The signed leaf certificate is output to a file called "IgDemo.pem".