Question

How to Install SSL certificate on Ubutu

  • Posted March 23, 2014

I recently bought SSL certificate from GoDaddy but have no clue on how to install the SSL certificate on the Ubuntu 12.04.3 x64 with Nodejs on it.

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello there,

You can check our tutorial on How To Install an SSL Certificate from a Commercial Certificate Authority

This article covers the process on how to install the SSL acquired from GoDaddy, the direct link is:

https://www.digitalocean.com/community/tutorials/how-to-install-an-ssl-certificate-from-a-commercial-certificate-authority#example-ca-2-godaddy

Hope that this helps! Regards, Alex

Hi iko,

I’m trying to follow these steps for APACHE but after i finish entering the information for the certificate request my /etc/apache2/ssl/ folder is still empty. I’m not sure how create/find my SSLCertificateFile and other files.

Any help would be appreciated.

Thanks!

What web server are you using? First you need to Download your SSL RAR/Zip/Tar file from GoDaddy, extract it to your temporary folder. That the extract files usually contain the yourdomain.crt and yourdomain.ca-bundle. <br> <br>APACHE <br>======== <br>- If Apache, follow the instructions on the steps to create a ssl folder: <br>https://www.digitalocean.com/community/articles/how-to-create-a-ssl-certificate-on-apache-for-ubuntu-12-04 <br> <br>- Generate SSL using goDaddy methode on ssl folder: <br>http://support.godaddy.com/help/article/5269/generating-a-certificate-signing-request-csr-apache-2x <br> <br>Edit Apache default-SSL configuration (READ STEP FOUR) : <br> <br> SSLEngine on <br> SSLCertificateFile /etc/apache2/ssl/apache.crt <br> SSLCertificateKeyFile /etc/apache2/ssl/apache.key <br> SSLCertificateChainFile /etc/apache2/ssl/yourdomain.ca-bundle <br> <br>* add line SSLCertificateChainFile and add yourdomain.ca-bundle from GoDaddy file <br> <br>Change apache.crt and apache.key your extract file. <br> apache.crt = Your .crt file / example : yourdomain.crt << GoDaddy crt file <br> apache.key = Your .key file / example : yourdomain.key <br> <br>Don’t forget to enable SSL mod: <br> sudo a2enmod ssl <br> <br>NGINX <br>====== <br>- Follow the instructions on the steps to create a ssl folder: <br>https://www.digitalocean.com/community/articles/how-to-create-a-ssl-certificate-on-nginx-for-ubuntu-12-04 <br> <br>- Generate SSL with goDaddy method on ssl folder: <br>http://support.godaddy.com/help/article/3601/generating-a-certificate-signing-request-nginx <br> <br>Edit NGINX default-SSL configuration (READ STEP FIVE): <br> <br> ssl on; <br> ssl_certificate /etc/nginx/ssl/server.crt; <br> ssl_certificate_key /etc/nginx/ssl/server.key; <br> <br>Change server.crt and server.key your extract file. <br> server.crt = Your .crt file / example : yourdomain.crt << GoDaddy crt file <br> server.key = Your .key file / example : yourdomain.key <br> <br>* “yourdomain.key” is your generate SSL file using goDaddy method. <br>* Copy all extract files to Apache/NGINX SSL folder <br>* Restart your web server (Apache/NGINX). <br>* Remove your temporary extract SSL folder.

you need to activate the SSL cert first at Goddady and then tell us what web server you have installed on your droplet VPS so we can provide you the rest of the steps. <br> <br>make sure to ask Godaddy about the installation procedure because a small mistake can change things in ultimate way. meaning if your SSL signed with www.mydomain.com is it not the same as if it was signed with mydomain.com <br> <br>please make sure with Goddady first… <br> <br>Good luck!!