Create the X.509 certificates for TLS mutual authentication
Use one of the following optional methods for creating the MySQL Server and KMIP connection pair TLS certificates:- Use an external CA
- Use the KMES Series 3 as the CA
Method 1: Use an external CA
To use an external CA to create the TLS certificates, perform the following tasks:- Generate a private key pair and create a Certificate Signing Request (CSR) for MySQL Server.
- Create a TLS certificate for the KMIP connection pair on the KMES Series 3.
Generate a private key and CSR
Perform the following tasks in this section to create the private key and CSR for MySQL Server:- Generate a private key.
- Get the CSR signed.
- Import the certificate and chain onto the KMES Series 3.
Generate a private key
Perform the following steps to generate a private key:Get the CSR signed
Perform the following steps to get the CSR signed by an external CA:Import the certificate
Perform the following steps to import the signed MySQL Server certificate and chain into a new X.509 certificate container on the KMES Series 3:Select the signed MySQL Server certificate and all CA certificates in the certificate chain, and select [ Open ].
All of the certificates display in tree form in the Verified section of the Import Certificates window.
Create a TLS certificate for the KMIP connection pair on the KMES Series 3
To create the TLS certificate, perform the following tasks:- Generate a private key and create a CSR.
- Get the CSR signed.
- Configure a KMIP connection pair.
Generate a private key and CSR
Perform the following steps to generate a private key and construct a CSR:When prompted that SSL will not be functional until new certificates are imported, select [ Yes ] to continue.
In the PKI Parameters window, leave all fields set to the default values and select [ OK ].
The Application Public Keys window now shows that a PKI Key Pair is Loaded.
On the Subject DN tab, select Classic in the Preset drop-down list and specify the hostname or IP address of the KMES in the Common Name field.
When prompted that the certificate signing request was successfully written to the specified location, select [ OK ].
Get the CSR signed
Perform the following steps to get the CSR signed by an external CA:Configure the KMIP connection pair
Perform the following steps to configure the KMIP connection pair to use the signed certificate and CA chain:In the Certificate Authority window, right-click the KMIP SSL CA X.509 certificate container and select [ Import ].
In the file browser, select both the root CA certificate and the signed KMIP connection pair certificate and select [ Open ].
The certificates now display in the Verified section of the Import Certificates window.
Select [ OK ] to save.
You now see Signed loaded next to Certificates in the User Certificates section of the Network Options window under the KMIP connection pair.
Method 2: Use the KMES Series 3 as the CA
To use the KMES as the CA to create the TLS certificates, perform the following tasks:- Create the CA.
- Create a TLS certificate for MySQL Server.
- Create and configure the TLS certificate for the KMIP connection pair on the KMES Series 3.
- Generate a private key pair and create a Certificate Signing Request (CSR) for MySQL Server.
Create the CA
Perform the following steps to create the CA:Create the TLS certificate
Perform the following tasks to create the TLS certificate for MySQL Server:- Generate a private key and construct a CSR for MySQL Server.
- Sign the MySQL Server CSR.
Generate a private key and CSR
Perform the following steps to generate a private key and construct a CSR for MySQL Server:Sign the CSR
Perform the following steps to sign the MySQL Server CSR:In the file browser, select the MySQL Server CSR.
Certificate information populates in the Create X.509 From CSR window.
Create and configure the certificate
Perform the following tasks to create and configure the TLS certificate for the KMIP connection pair on the KMES Series 3:- Generate a private key and construct a CSR.
- Sign the KMIP connection pair CSR.
- Export all certificates in the CA tree.
- Configure the KMIP connection pair to use the signed certificate and CA chain.
Generate a private key and a CSR
Perform the following steps to generate a private key and construct a CSR:When prompted that SSL will not be functional until new certificates are imported, select [ Yes ] to continue.
In the PKI Parameters window, leave all fields set to the default values and select [ OK ].
The Application Public Keys window now shows that a PKI Key Pair is Loaded.
In the Subject DN tab, select Classic from the Preset drop-down list and specify the hostname or IP address of the KMES in Common Name.
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 KMIP connection pair CSR:In the file browser, select the KMIP connection pair CSR.
Certificate information populates in the Create X.509 From CSR window.
Export all certificates
Perform the following steps to export each certificate in the certificate tree:Configure the connection pair
Perform the following steps to configure the KMIP connection pair to use the signed certificate and CA chain:In the Certificate Authority window, right-click the KMIP SSL CA X.509 certificate container and select [ Import ].
In the file browser, select both the root CA certificate and the signed KMIP connection pair certificate, and select [ Open ].
The certificates now display in the Verified section of the Import Certificates window.
Select [ OK ] to save.
You now see Signed loaded next to Certificates in the User Certificates section of the Network Options window under the KMIP connection pair.

