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:
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:
- Launch the Lightsail instance’s Browser SSH console.
cd /opt/bitnami/apache2/conf/
nano private-key.key
- Paste the Private key that was produced while the certificate was requested.
- Save the file by pressing Ctrl + X or Cmd + X, then click on y.
- We now have everything ready; all that remains is to setup Apache.
- To edit the Bitnami configuration, enter the command:
nano /opt/bitnami/apache2/conf/bitnami/bitnami.conf.
- 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]. - 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" - Examine Configuration by typing in
configtest apachectl
. - 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.
var google_conversion_label = "owonCMyG5nEQ0aD71QM";
still, it shows not secure
Hi,
Please contact our support team via live chat(click on the icon at right-bottom).