Installing Free SSL Certificate on Digital Ocean Droplet

Installing Free SSL Certificate on Digital Ocean Droplet Follow these steps to installing Free SSL Certificate on Digital Ocean Droplet

Installing Free SSL Certificate on Digital Ocean Droplet

Installing Free SSL Certificate on Digital Ocean Droplet

Installing Free SSL Certificate on Digital Ocean Droplet

FOLLOW THESE STEPS TO INSTALLING FREE SSL CERTIFICATE ON DIGITAL OCEAN DROPLET1. OPEN PUTTY OR TERMINAL DEPENDING ON YOUR OPERATING SYSTEM.2. TYPE IN THE HOST NAME OR THE IP ADDRESS WHERE YOU WANT TO INSTALL SSL CERTIFICATE AND CLICK ON OPEN.3. LOG INTO YOUR SERVER BY PROVIDING THE USERNAME AND PASSWORD.

Once inside the server, copy and paste this below code on the Putty or the ssh client that you use.

4. UPDATE SERVER’S PACKAGE MANAGER

sudo apt-get update

5. THIS WILL LET YOU MANAGE THE CERTIFICATE WHICH WILL BE INSTALL INTO YOUR SERVER.

sudo add-apt-repository ppa:certbot/certbot

6. UPDATE YOUR SERVER AGAIN.

sudo apt-get update

7. INSTALL PYTHON CERTBOT FOR APACHE

sudo apt-get install python-certbot-apache

While installing this press Y when prompted on the do you want to continue warning to accept it.

8. THIS COMMAND INSTALLS THE LET’S ENCRYPT. DON’T FORGET TO CHANGE EXAMPLE.COM WITH YOUR DOMAIN NAME.

letsencrypt --authenticator standalone --installer apache -d example.com

Once you press enter you will be prompted to enter your email address.

You need to enter your email address where you want to receive updates about your site. Also it will send you notification on this email once your certificate expires.

Enter your email and press enter.

Again when prompted if you have read the Terms and Conditions of Let’s Encrypt press A to accept it.

Next you will be asked if you want to share you email with the Electronic Frontier Foundation. Press Y to accept it.

This will now start to install the HTTPS certificate on your server.

You will be asked to choose whether you want to redirect all HTTP traffic to HTTPS.

Press 1 to not redirect the traffic and 2 to redirect all HTTP traffic to HTTPS and then press enter.

SSL will be successfully installed in your server.

9. RESTART YOUR APACHE TO SHOW THE CHANGES AT THE FRONT END.

service apache2 restart

This will restart your apache for you.

10. CHECK FOR HTTPS

www.ssllabs.com/ssltest/analyze.html?d=example.com

Type in this address into the browser to check if all traffics are redirecting to HTTPS.

Don’t forget to change example.com with your domain name.

Also Read – HTTPS for WordPress Websites – How To Enable SSL Certificate ?

Comments

Login to comment

Businesses you may like

Lazeez Affaire - Restaurant in Darjeeling

Lazeez Affaire: Where Culinary Excellence Meets Relaxed Ambiance is located in the vibrant Chauk Baz...<

Shrees Beauty Parlour - Beauty Parlour in Kolkata

Shrees Beauty Parlour, elevating Beauty Standards in Kolkata, nestled in the heart of Kolkata, Shree...<

Macy Mount View Homestay - Homestay in Mirik

Macy Mount View Homestay Mirik: Where Serenity Meets Comfort is tucked away in the tranquil town of...<

Pandeys Homestay Kalimpong - Homestay in Kalimpong

Pandey's Homestay: A Serene Retreat in Kalimpong for You and Your Furry Friendis located in the pict...<

Blogs you may like

New Car Wishes - 50 Congratulation Messages for New Car for Friends and Family Wishes

Download Whatsapp wishes and images for New Car Wishes and more than 50 Congratulation Messages for...

Why is my phone so slow ? Android phone freezing

Ever asked yourself the question why is my phone so slow ? Has your Android phone been freezing, slo...

Top 7 Adsense Alternatives for Small Websites

Today we have created an article on Top 7 Adsense Alternatives for Small Websites. If you are asking...

Wishes for Newly Married Couple - 50+ Best Wishes for Wedding

In this article you will find wishes for newly married couple, best wishes for wedding and more than...