Thursday, May 21, 2020

How To Install a Free SSL Certificate on DigitalOcean With Apache2 | Install a Free SSL Certificate on DigitalOcean | How to activate letsencrypt SSL Certificate on DigitalOcean

How To Install a Free SSL Certificate on DigitalOcean With Apache2 | Install a Free SSL Certificate on DigitalOcean | How to activate letsencrypt   SSL Certificate on DigitalOcean


#01 Step

   sudo apt-get update
#02 Step

   sudo add-apt-repository ppa:certbot/certbot
#03 Step

   sudo apt-get update
#04 Step

   sudo apt-get install python-certbot-apache
#05 Step

   sudo apachectl stop
#06 Step

   letsencrypt --authenticator standalone --installer apache -d example.com
#07 Step

   sudo service apache2 start
#08 Step
  
   service apache2 restart
  
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

No comments:

Post a Comment