- Home
- Posts
- 4 years ago
- In Siliguri
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
Businesses you may like
Geetanjali Salon - Beauty Parlour in Delhi
Geetanjali Salon: Where Beauty Meets Excellence in Delhi, nestled in the heart of Delhi, Geetanjali...<
Scissors 2 - Beauty Parlour in Gangtok
Scissors 2: Elevating Beauty in Gangtok, Sikkim is nestled in the enchanting town of Gangtok, Sikkim...<
Fuzon Hair Studio & Spa - Beauty Parlour in Assam
Fuzon Hair Studio & Spa emerges as a beacon of beauty, offering a plethora of services that redefine...<
Snip Hair & Beauty Salon - Ladies Beauty Parlour in Gangtok
Snip Hair & Beauty Salon - Elevating Elegance in Gangtok, Sikkim, nestled in the heart of Gangtok, S...<
Blogs you may like
Maximizing Productivity and Profits: Strategies for Website Success
Maximizing Productivity and Profits: Strategies for Website Success. A well-optimized website is not...
Valuable Inventory Scraped Content on Google Adsense
Valuable Inventory Scraped Content on Google Adsense “Valuable Inventory Scraped Content” is the mes...
After creating new WordPress site 7 things you need to do
This article teaches you what you need to do after creating new WordPress site. So you have complete...
Speed up Internet Connection – Tips to speed up your Internet
Do you want to speed up internet connection? Is you internet connection running slow? If you are tir...