-
Open the
/<OPENSSLDIR>/openssl.cnffile in the text editor and edit the[CA_default]section to following:
|
openssl.cnf |
|
You can change dir to the directory of your choice, but make sure to use the correct path in the subsequent steps. Here, we have created directory /localCA under the root directory, and new_certs_dir = $dir/newcerts.
-
Create the directory
/localCA/newcerts.
|
›_ Console |
|
-
Create the text files
/localCA/index.txtand/localCA/serial.
|
›_ Console |
|
-
Create a key pair by using
p11tool2for root CA.
|
›_ Console |
|
Bash
|
-
Verify that the keys are generated onto the HSM using the following command:
|
›_ Console |
|
Bash
|
-
Create the CA certificate based on the generated key that is used for signing other certificates by running the command below.
|
›_ Console |
|
Bash
|
Here, CAKey is the Object label for the CA private key on the Utimaco HSM created in Step 5, and <token_name> is the token label. Provide the CryptoUser PIN when prompted.