-
The certificate signing request (CSR) is created on the machine running the client.
Before performing this step, ensure that OpenSSL is already installed on your system.
-
Using OpenSSL, create a private key, using the commands and syntax shown below. This example shows the creation of a 2048-bit RSA key.
|
›_ Console |
|---|
|
The following output appears:
|
›_ Console |
|---|
|
-
Generate a certificate signing request (CSR) using the private key.
|
›_ Console |
|---|
|
The following output appears:
|
›_ Console |
|---|
|
-
Enter the information in the fields as prompted.
|
Field |
Example |
|---|---|
|
Country Name |
USA |
|
State Name |
CA |
|
Locality Name |
Campbell |
|
Organization Name |
Organization |
|
Organization Unit Name |
Information Security |
|
Common Name |
ESKM |
|
Email Address |
Certification Information
The Common Name must match the name of the KMIP user.
-
You are then prompted to add other parameters, such as a “challenge password” or
“optional company name”. To skip those parameters, press Enter.
This process creates a certificate request file called KMIP_client.csr. It also creates a private key file called KMIP_client.key.
-
Download
KMIP_client.keyfile to client system with correct name; in this case,
/var/lib/mysql/mysql-keyring-okv/ssl/key.pem.
For Windows, execute the steps 1 to 5 from Create a CSR on the client section and then follow step 7.
-
Download and save
KMIP_client.keyfile in C:\Program Files\MySQL\MySQL Server 8.0\mysql-keyring-okv\ssl location askey.pem.