Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Companion/Quickstart bash script to manually install and use Certbot with key command steps as outlined in the post https://mzonline.com/blog/2020-10/moving-certbot-lets-encrypt
# Update Ubuntu and obtain/install/update Certbot
sudo apt-get update
sudo apt-get install software-properties-common
sudo add-apt-repository universe
sudo add-apt-repository ppa:certbot/certbot
sudo apt-get update
# Make a manual certificate request
sudo certbot certonly --manual -d superdomain.net
# Spit out the freshtly-minted certificate:
sudo more /etc/letsencrypt/live/superdomain.net/cert.pem
# Spit out the certificate key:
sudo more /etc/letsencrypt/superdomain.net/privkey.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment