How to Install SSL certificate on Ubutu

Posted March 23, 2014 27.4k views
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.

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.

Submit an Answer
4 answers
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.

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 is it not the same as if it was signed with

please make sure with Goddady first...

Good luck!!
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

- If Apache, follow the instructions on the steps to create a ssl folder:

- Generate SSL using goDaddy methode on ssl folder:

Edit Apache default-SSL configuration (READ STEP FOUR) :

SSLEngine on
SSLCertificateFile /etc/apache2/ssl/apache.crt
SSLCertificateKeyFile /etc/apache2/ssl/apache.key
SSLCertificateChainFile /etc/apache2/ssl/

* add line SSLCertificateChainFile and add from GoDaddy file

Change apache.crt and apache.key your extract file.
apache.crt = Your .crt file / example : yourdomain.crt << GoDaddy crt file
apache.key = Your .key file / example : yourdomain.key

Don't forget to enable SSL mod:
sudo a2enmod ssl

- Follow the instructions on the steps to create a ssl folder:

- Generate SSL with goDaddy method on ssl folder:

Edit NGINX default-SSL configuration (READ STEP FIVE):

ssl on;
ssl_certificate /etc/nginx/ssl/server.crt;
ssl_certificate_key /etc/nginx/ssl/server.key;

Change server.crt and server.key your extract file.
server.crt = Your .crt file / example : yourdomain.crt << GoDaddy crt file
server.key = Your .key file / example : yourdomain.key

* "yourdomain.key" is your generate SSL file using goDaddy method.
* Copy all extract files to Apache/NGINX SSL folder
* Restart your web server (Apache/NGINX).
* Remove your temporary extract SSL folder.
by Etel Sverdlov
This tutorial explains how to create a self-signed SSL certificate, how to add it to your server, and how to configure the SSL file to display the certificate to the world. A SSL certificate is a way to encrypt a site's information and create a more secure connection. Certificate Authorities can issue SSL certificates that verify the server's details while a self-signed certificate has no 3rd party corroboration. This tutorial is written for Apache on an Ubuntu server.

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.


edited by asb

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:

Hope that this helps!

by Mitchell Anicas
This tutorial will show you how to acquire and install an SSL certificate from a trusted, commercial Certificate Authority (CA). SSL certificates allow web servers to encrypt their traffic, and also offer a mechanism to validate server identities to their visitors. The...