Get an SSL certificate

In order to enable a secure HTTP connection to the server, you need to get an SSL certificate from a Certificate Authority (CA).

Generate a Certificate Signing Request

Before you can request your SSL certificate, you must generate a Certificate Signing Request (CSR) from your server. This request is required when you try to get the certificate from any Certificate Authority such as Godaddy.

The request requires that you provide the following information:

IMPORTANT: If you provide a challenge phrase when generating the request, the server will prompt for it EVERY TIME it starts.

# cd
# mkdir certificate
# cd certificate
# openssl req -new -newkey rsa:2048 -nodes -keyout yourdomain.key -out yourdomain.csr

When you have completed generating your CSR, cut/copy and paste it into the CSR field on the SSL certificate-request page of the CA.

IMPORTANT NOTE: DO NOT ERASE THE FILES AFTER YOU MAKE THE CERTIFICATE REQUEST, YOU'LL NEED THEM LATER.

References