How do I install a GoDaddy DV SSL certificate?
Connect to your remote system using SSH
In the terminal, type the following command
openssl req -new -newkey rsa:2048 -nodes -keyout yourdomain.key -out yourdomain.csr
Replace yourdomain with the domain name you’re securing.
Enter the requested information.
Open the CSR in a text editor and copy all of the text.
Paste the full CSR into the SSL enrollment form in your account.
Next, prove domain control. Multiple options are provided. I chose adding a TXT record to the DNS.
Go to your GoDaddy product page and select ssl certificates and manage. Next, select server type and download zip file under download certificate.
On CentOS, the SSL directory should be
To store your certificate
to /etc/pki/tls/certs directory
Save your private keys
to /etc/pki/tls/private directory
Next, find the apache virtual hosts conf file for your domain
Here is an example configuration:
<VirtualHost *:443>
DocumentRoot /var/www/yourdomain
ServerName yourdomain.com
SSLEngine on
SSLCertificateFile /path/to/yourdomain.crt
SSLCertificateKeyFile /path/to/privatekey.key
SSLCertificateChainFile /path/to/intermediate.crt
</VirtualHost>
Run the following command to check your Apache configuration file for errors:
apachectl configtest