Install GoDaddy SSL Certificate Apache Ubuntu

Install GoDaddy SSL Certificate Apache Ubuntu

Knowing how to install GoDaddy SSL Certificate Apache Ubuntu can be a bit intimidating. But, it is not really that hard if you follow proper guidelines and make sure that you are installing the right documents to the right directories. Making sure that you are also doing the step by step guide in order will ensure that your GoDaddy SSL Certificate will work properly on your Apache web server.

Why GoDaddy?

Purchasing the right certificate for your website or application is essential as this will ensure that you won’t have problems in securing your sessions. Selecting the right certificate authority (CA) is as significant as this will also ensure that you will have excellent support for your SSL needs

And for efficient and fast certificate issuance, go to GoDaddy. It is one of the best certificate authorities today with 24-7 support and excellent deals.

Godaddy is a great option for reliable, cheap SSL certs.  Get the best price.

Installing GoDaddy SSL Certificate on Apache

To properly install a certificate to your Apache server, you need to install OpenSSL, generate a CSR and create a folder/directory to upload your certificate file. Follow the guideline below to do these and have a secured website or application on your Apache server:

  • Create a directory for the certidicals and install OpenSSL.

The first thing that you need to do is to create a directory where your certificate will be installed then install OpenSSL. This will allow you to have a place for the certificate when you have already downloaded it from GoDaddy.

Run these codes to create a folder:

sudo mkdir /etc/apache2/ssl

chmod 700 /etc/apache2/ssl

chown www-data:www-data /etc/apache2/ssl

Then install OpenSSL:

sudo apt-get install openssl

You also need to activate the required mod to ensure that everything will work properly:

sudo a2enmod ssl

  • Generate your Certificate Signing Request.

Once your Apache server is ready, you can now generate your CSR. You will need to submit this to GoDaddy so that they can provide you with the SSL Certificate that you need. Make sure that you provide all the necessary info for your website, particularly the domain name where the certificate will be assigned.

Run this command in your home directory:

openssl req -newkey rsa:2048 -nodes -keyout website_ssl.key -out website_ssl.csr -sha256

Submit the CSR to be able to request a certificate from them. You will receive the certificate files on your email so make sure to check it after 1-7 days after the submission of your CSR.

  • Install your GoDaddy Certificate to your Apache server.

Chain the two cert files that you have received: ‘domain.com.csr’ and ‘domain.com.key’. Then, upload them on your server. Edit the lines below to use the certificates:

ServerName domain.com:443
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/domain.com.csr
SSLCertificateKeyFile /etc/apache2/ssl/domain.com.key
SSLCertificateChainFile /etc/apache2/ssl/bundle-g2-g1.crt

Make sure that you edit the ‘domain.com.csr with your website’s domain. Then, run this command:

sudo a2ensite 000-default.ssl.conf

Finally restart Apache to enable the settings that you just made:

sudo /etc/init.d/apache2 restart

When installing your GoDaddy SSL Certificate to Apache Ubuntu, make sure that you back up your files first. This will ensure that you won’t suffer from data loss when things don’t go as planned. You should also contact your hosting provider when you need assistance on how to go about the installation.

Previous post:

Next post: