The PKCS12 keystore is used by the web server to enable SSL capabilities.
Follow the steps below to generate a pkcs12 keystore using the keytool command.
-
Generate a pkcs12 keystore.
|
›_ Console |
|---|
|
|
Keytool: genkey output
-
Generate the certificate signing request.
|
›_ Console |
|---|
|
|
Provide the keystore password when prompted.
-
Get the CSR signed from Certificate Authority.
-
Use the keytool to import the CA certificate into the keystore.
|
›_ Console |
|---|
|
|
Provide the keystore password when prompted.
Keytool: import the CA certificate
-
Use the keytool to import the signed certificate for the associated alias into the keystore.
|
›_ Console |
|---|
|
|
Provide the keystore password when prompted.
Keytool: import signed certificate