- Home
- Posts

- 6 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
Grand Casa - Homestay in Darjeeling
Grand Casa Homestay: A Serene Retreat in the Heart of Darjeeling
Nestled amidst the breathtaking landscapes of Darjeeling,...
11 Monteviot: Luxury Homestay - Homestay in Kurseong
11 Monteviot: Luxury Homestay Kurseong - A Symphony of Luxury and Nature
Situated amidst the serene hills of Kurseong, 11...
Norbu Gakyil Homestay - Homestay in Darjeeling
Norbu Gakyil Homestay: A Blissful Retreat in the Heart of Darjeeling
Tucked away in the picturesque hills of Darjeeling, N...
CUT & STYLE SALON - Beauty Parlour in Gangtok
CUT & STYLE SALON: Elevating Beauty in the Heart of Gangtok
Nestled in the scenic beauty of Gangtok, Sikkim, CUT & STYLE SALON stan...
Miirror Beauty Parlour - Beauty Parlour in Kolkata
Miirror Beauty Parlour: Elevating Beauty Standards in Kolkata
In the bustling city of Kolkata, where traditions...
Neeldavid's Darjeeling - Beauty Parlour in Darjeeling
Neeldavid's Darjeeling: Where Beauty Finds Its Expression
Nestled amidst the picturesque landscapes of Darjeeling, Neeldav...
Jai Hotels - Hotels in Darjeeling
The Jai Hotels Darjeeling: Where Comfort Meets Himalayan Splendor
Situated amidst the captivating hills of Darjeeling, The...
Golcha Salon and Spa - Beauty Parlour in Gangtok
Golcha Salon and Spa: Your Oasis of Beauty and Relaxation in Gangtok
Golcha Salon and Spa, located in the heart of Gangtok, is a sanctuary...
Blogs you may like
Valuable Inventory Scraped Content on Google Adsense
Valuable Inventory Scraped Content on Google Adsense “Valuable Inventory Scraped Content” is the mes...
Computer Running Slow? Make Computer Faster With These 8 Steps
Computer Running Slow? Make Computer Faster With These 8 Steps. MAKE COMPUTER FASTER :1. USE POWER O...
How To Migrate WordPress Website from Localhost to Live Website
Do you want to migrate WordPress website from localhost to live website. We will show you how you ca...
How to fix black screen windows 10 problem on Laptop
How to fix black screen windows 10 problem on Laptop. One of the most annoying problems in a Windows...