How to install a SSL Certificate for Red Hat

Step 1: Obtain Intermediate CA Certificate

  • Copy the Intermediate CA certificate from your Secure128 portal under “Order Details”.
  • Be sure there are 5 dashes to either side of the BEGIN CERTIFICATE and END CERTIFICATE and that no white spaces, extra line breaks or additional characters have been inadvertently added.
  • Save the Intermediate CA Certificate as: /etc/httpd/conf/ssl.crt/intermediate.crt.
  • Add the following directive to your /etc/httpd/conf/httpd.conf file, within the virtual host tags that define your secure Web server and with the other SSL directives:
  • SSLCACertificateFile /etc/httpd/conf/ssl.crt/intermediate.crt

Step 2: Obtain and Install your SSL Certificate

  • The SSL certificate will be sent by email. The certificate is included as an attachment (Cert.cer) and it is also imbedded in the body of the email. Copy the certificate.
  • The text file should look like this:

-----BEGIN CERTIFICATE----- [encoded data] -----END CERTIFICATE-----

  • To follow the naming convention for Red Hat, rename the certificate filename with the .crt extension. For example: public.crt
  • Save the certificate into a file and give the name and path to that file to the SSLCertificateFile directive: SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt
  • You need to add also the key file in as well (SSLCertificateKeyFile directive): SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key
  • Remember to add the Intermediate file in as well ( SSLCACertificateFile directive) from Step 1: SSLCACertificateFile /etc/httpd/conf/ssl.crt/intermediate.crt

Verify your Certificate is installed correctly