Install Free SSL Certificate on DigitalOcean | Hello friends, My name is Naga Durgarao Baddhi, Today I teach you how to install a free SSL certificate on DigitalOcean without hassle.
Register on DigitalOcean and get $100 credit
Note: You must watch above video before executing below commands, If you have any doubts during installation please ask me on comment section.
Install a Free SSL Certificate on DigitalOcean
#01 Step
sudo apt-get update
#02 Step
sudo apt-get install apache2
#03 Step
sudo add-apt-repository ppa:certbot/certbot
#04 Step
sudo apt-get update
#05 Step
sudo apt-get install python-certbot-apache
#06 Step
sudo apachectl stop
#07 Step
letsencrypt --authenticator standalone --installer apache -d example.com
#08 Step
sudo service apache2 start
#09 Step
service apache2 restart
#10 Step
www.ssllabs.com/ssltest/analyze.html?d=example.com
Setup Auto-Renewing
#01 Step
sudo crontab -e
#02 Step
0 1 1 */2 * cd /usr/local/letsencrypt && ./letsencrypt-auto certonly --apache --renew-by-default --apache -d example.com >> /var/log/example.com-renew.log 2>&1
#03 Step
service apache2 restart
If you like this article please share with your friends, Thank you!!!