How To Install a Free SSL Certificate on DigitalOcean With Apache2

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

08 Step

sudo service apache2 start

09 Step

service apache2 restart

10 Step
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 >> /var/log/ 2>&1

03 Step

service apache2 restart

What do you think?

Written by My Inquisitor


Leave a Reply

GIPHY App Key not set. Please check settings



Where can I find a free template without JavaScript, jQuery, and Bootstrap?

Install Apache, MySQL, PHP (LAMP) Stack on Ubuntu