CertBot Aws Linux

From SWKLS WIKI
Revision as of 13:53, 26 March 2020 by Unknown user (talk) (Created page with "==Certbot on AWS Linux / CentOS== Previously had certbot-auto installed and removed it in favor of pip certbot install: <syntaxhighlight lang="bash" line start="1"> sudo rm -...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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