CertBot Aws Linux

From SWKLS WIKI
Jump to navigation Jump to search

Certbot on AWS Linux / CentOS

Previously had certbot-auto installed and removed it in favor of pip certbot install:

sudo rm -rf /opt/eff.org/*

Install certbot & apache plugin

sudo pip install -U certbot
sudo pip install certbot-apache

Add entry into root crontab to run on schedule:

sudo crontab -e
30 2 * * Sun /usr/local/bin/certbot renew

Other potentially useful commands

sudo /usr/local/bin/certbot pluginssudo certbot renew --debug