Bobcares

How to Add GoDaddy SSL Certificate on AWS Lightsail?

by | Oct 3, 2022

 Let us take a closer look at how to add GoDaddy SSL Certificate on AWS lightsail and the configurations and codes assisted with it with the assistance of Server Management support services at Bobcares. 

Amazon Lightsail Install Godaddy SSL Certificate:

add GoDaddy SSL Certificate on aws lightsail

Firstly, request a fresh SSL certificate of the chosen kind first. The Private Key and certificate signing request (CSR), which appear together with the SSL certificate request, should be saved somewhere since we’ll need them later.

The next action is to confirm the domain. It might be a little simpler if GoDaddy also owns the domain. A screen will appear once all of the verification is complete. Unzipping the downloaded zip file will reveal three files.

Upload the certificate (in our example, it is 83ab9f3f34d95df1.crt file) to the /opt/bitnami/apache2/conf/ directory after establishing an SFTP connection to AWS Lightsail.

Then we have to go through all of the steps given below:

  1. Launch the Lightsail instance’s Browser SSH console.
  2. cd /opt/bitnami/apache2/conf/
  3. nano private-key.key
  4. Paste the Private key that was produced while the certificate was requested.
  5. Save the file by pressing Ctrl + X or Cmd + X, then click on y.
  6. We now have everything ready; all that remains is to setup Apache.
  7. To edit the Bitnami configuration, enter the command:

    nano /opt/bitnami/apache2/conf/bitnami/bitnami.conf.

  8. Change the Virtual host by typing in the following command to add GoDaddy SSL Certificate on AWS Lightsail:

    DocumentRoot "/opt/bitnami/apache2/htdocs"

    #CHANGED - ADDED THIS
    #Here we can add the below 3 lines to enforce HTTPS RewriteEngine On
    RewriteCond %{HTTPS} !=on RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 [R,L].

  9. Comment on the existing certificate key configuration and add our own certificate as the major configuration step to add the GoDaddy SSL Certificate on AWS lightsail.

    DocumentRoot "/opt/bitnami/apache2/htdocs"
    SSLEngine on
    # commented the existing configs
    #SSLCertificateFile "/opt/bitnami/apache2/conf/server.crt" #SSLCertificateKeyFile "/opt/bitnami/apache2/conf/server.key" SSLCertificateFile "/opt/bitnami/apache2/conf/.cert" SSLCertificateKeyFile "/opt/bitnami/apache2/conf/.key"

  10. Examine Configuration by typing in configtest apachectl.
  11. Finally, restart the server for the changes to take effect.

sudo /opt/bitnami/ctlscript.sh restart apache

[Need assistance with similar queries? We are here to help]

Conclusion

To conclude we have now learned how to add GoDaddy SSL Certificate on AWS lightsail in a few simple steps from the Lightsail instance’s Browser SSH console. We have learned the whole process with the support of our Server Management support services at Bobcares.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

2 Comments

  1. Anand

    still, it shows not secure

    Reply
    • Hiba Razak

      Hi,
      Please contact our support team via live chat(click on the icon at right-bottom).

      Reply

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.