1. Log in as root user and generate a keypair on Utimaco HSM.
|
›_ Console |
|---|
|
Provide information when prompted. Here:
-
RSA is the key algorithm.
-
2048 is the key size.
-
NONE is the keystore for HSM.
-
CryptoServer is the storetype.
-
12345678 is the slot PIN.
-
CryptoServer is the provider name.
Key generation using the keytool command
2. Verify that the keys have been generated using the keytool command.
|
›_ Console |
|---|
|
Here:
-
NONE is the keystore for HSM.
-
CryptoServer is the storetype.
-
12345678 is the slot PIN.
-
CryptoServer is the provider’s name.
List keystore entries
-
List the keys using cxitool.
|
›_ Console |
|---|
|
List keys output using cxitool
-
Generate a CSR using Keytool command.
|
›_ Console |
|---|
|
CSR generation
Provide the keystore password when prompted. Here:
-
NONE is the keystore for HSM.
-
CryptoServer is the storetype.
-
CryptoServer is the provider name.
-
jbossrsa is the key name.
-
rsa.csr is the CSR file name that will be generated.
-
Get this CSR signed by CA.
-
Copy the signed certificate along with Root CA certificate on the JBoss server.
-
Import the Root certificate into the HSM keystore. Type yes when prompted.
|
›_ Console |
|---|
|
Import root CA certificate into keystore
-
Import the signed certificate using the command below.
|
›_ Console |
|---|
|
Import signed certificate into keystore
-
List the keystore entries.
|
›_ Console |
|---|
|
Keytool list output
Keytool list output