Obtaining Trusted Certificates
It is recommended that you use trusted certificates for authenticating Key Manager front ends to Key Manager administrators. For this you will need to contact your corporate CA and enroll for a server certificate. Since it may take some time to get a response from the CA, the instructions in this section should be performed well before the rest of the Key Manager Server setup.
Using trusted certificates is optional. Key Manager provides utilities for setting up Key Manager front ends with self-signed certificates. If you are performing an evaluation installation of Key Manager, or if your corporation lacks a CA, you can skip this section.
Obtaining a trusted certificate usually involves the following:
-
Create a private key for the server:
# openssl genrsa -out server.key 2048This generates the server key
server.keyto the current working directory. -
Generate a Certificate Signing Request (CSR) (replace keymanager.example.com with the address of the machine):
# openssl req -subj '/CN=keymanager.example.com' -key server.key \-new -out server.csrThis generates the CSR
server.csrto the current working directory. -
Enroll for the server certificate by sending the CSR to your CA. Your CA should then provide you with the server certificate file, and the CA-certificate chain (a file containing CA certificates up to a trusted root CA).
noteIt is possible to use trusted certificates for authenticating the Key Manager Server, while using self-signed certificates for authenticating Key Manager command-line clients.
You should now have the necessary certificate files:
- Server key
- Server certificate
- Certificate chain of the CA that issued the server certificate (server-certificate CA)