Appendix E. Certificates
E.1. Creating SSL/TLS Certificates Copy linkLink copied to clipboard!
SSL/TLS certificates provide a layer of security for accessing your installation over HTTPS. This procedure provides instructions for creating certificates and configuring your server with them.
openssl
. To install this tool, run the following command on your server:
#yum install openssl
#yum install openssl
Procedure E.1. Creating a Certificate Authority
- Run the following command:
#openssl req -new -x509 -keyout ca.key -out ca.crt -days 3650
#openssl req -new -x509 -keyout ca.key -out ca.crt -days 3650
Copy to Clipboard Copied! Toggle word wrap Toggle overflow This command requests a new CA pair valid for 3650 days. - Enter a password to protect your CA:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Enter the following details about your organization:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow This information forms the Distinguished Name (DN) in your certificate.
You have created a Certificate Authority. openssl
creates two files: ca.key
, which is a key that administrators use to sign certificates, and ca.crt
, which is the public CA certificate that users obtain to verify the validity of signed certificates they receive. Make sure users accessing your server have a copy of ca.crt
so that they can import it into their client's trusted CA store.