- Use an external CA
- Use the KMES Series 3 as the CA
Use an External CA
To use an external CA, you must complete the following tasks:- Create a TLS certificate for Vault.
- Import the certificate and chain to the KMES Series 3.
- Create a TLS certificate for the Vault connection pair on the KMES Series 3.
Create a TLS certificate
Perform the following steps to create a TLS certificate for HashiCorp Vault:The HashiCorp Vault client certificate must use the V3 extension TLS Server Authentication.
Generate a Certificate Signing Request (CSR) by running the following OpenSSL command:Specify the IP address or hostname of the HashiCorp Vault server as the Common Name in the CSR.
Shell
Import the signed certificate and chain
Perform the following steps to import the signed HashiCorp Vault certificate and chain into a new X.509 certificate container on the KMES Series 3:Select the signed HashiCorp Vault certificate and all CA certificates in the certificate chain, and select [ Open ].
All certificates should display in a tree form in the Verified section of the Import Certificates window.
Create a TLS certificate
To create the TLS certificate for the Vault client connection pair on KMES Series 3, complete the following tasks:- Generate a private key and CSR for the connection pair.
- Get the external CA to sign the CSR.
- Configure the connection pair to use the signed CSR.
Generate a private key and CSR
Perform the following steps to generate a private key and construct a CSR for the Vault client connection pair:Go to Administration> Configuration> Network Options. On the TLS/SSL Settings tab, select the Vault Client connection pair from the Connection drop-down menu.
When warned that SSL will not be functional until new certificates are installed, select [ Yes ] to continue.
In the PKI Parameters window, leave all fields set to the default values and select [ OK ].
It now displays Loaded in the Application Public Keys window.
On the Subject DN tab, change the Preset drop-down option to Classic and specify the IP address or Hostname of the KMES in the Common Name field.
On the PKCS #10 information tab, specify a save location and name for the CSR file, and select [ OK ].
When prompted that the certificate signing request was successfully written to the specified location, select [ OK ]*.
Get an external CA to sign the CSR
Take the CSR file to the external CA. After the CSR is signed, download the signed certificate and the chain of CA certificates used to sign it.Configure the connection pair
Perform the following steps to configure the Vault client connection pair to use the signed certificate and CA chain:Go to Administration> Configuration> Network Options. On the TLS/SSL settings tab, select Vault Client from the Connection drop-down menu.
In the Certificate Authority window, right-click on the Vault Client SSL CA X.509 certificate container, and select [ Import ].
In the file browser, select both the root CA certificate and the signed Vault Client connection pair certificate, and select [ Open ].
The certificates should now display in the Verified section of the Import Certificates window.
Use the KMES Series 3 as the CA
To use the KMES as the CA, you must complete the following tasks:- Create the CA.
- Create a TLS certificate for the Vault.
- Create and configure the TLS certificate for the Vault client connection pair.
Create the CA
Specify a name for the CA and select [ OK ].
The new certificate container now displays in the Certificate Authorities window.
Create the TLS certificate for HashiCorp Vault
To create the TLS certificate, you must perform the following steps:- Generate a private key and CSR.
- Sign the CSR.
Generate a private key and CSR
Perform the following steps to generate a private key and construct a CSR for HashiCorp Vault:Sign the CSR
Perform the following steps to sign the HashiCorp Vault CSR:In the file browser, select the HashCorp Vault CSR.
Certificate information populates in the Create X.509 From CSR window.
Create and configure the TLS certificate
To create and configure the TLS certificate for the Vault client connection pair on the KMES Series 3, complete the following tasks:- Generate a private key and construct a CSR.
- Sign the CSR.
- Export the certificates in the CA tree and add them to the Vault client connection pair.
Generate a private key and CSR
Perform the following steps to generate a private key and construct a CSR for the Vault Client connection pair:Go to Administration> Configuration> Network Options. On the TLS/SSL Settings tab, select the Vault Client connection pair from the Connection drop-down menu.
When warned that SSL will not be functional until new certificates are installed, select [ Yes ] to continue.
In the PKI Parameters window, leave all fields set to the default values and select [ OK ].
It now says Loaded in the Application Public Keys window.
On the Subject DN tab, change the Preset drop-down option to Classic and specify the IP address or Hostname of the KMES in the Common Name field.
When prompted that the certificate signing request was successfully written to the specified location, select [ OK ]*.
Sign the CSR
Perform the following steps to sign the Vault client connection pair CSR:In the file browser, select the Vault Client connection pair CSR.
Certificate information populates in the Create X.509 From CSR window.
Export all certificates and import them
To export the certificates, right-click each certificate in the certificate tree and select Export> Certificate(s). In the Export Certificate dialog for each of them, change the encoding to PEM, and specify a save location for the file. Then, perform the following instructions to import them to the Vault client connection pair:Go to Administration> Configuration> Network Options. Under the TLS/SSL settings tab, select Vault Client from the Connection drop-down menu.
In the Certificate Authority window, right-click on the Vault Client SSL CA X.509 certificate container and select [ Import ].
In the file browser, select both the root CA certificate and the signed Vault Client connection pair certificate, and select [ Open ].
The certificates should now display in the Verified section of the Import Certificates window.

