Last active
October 4, 2020 18:10
-
-
Save zaskem/9b32ec7bc0a85c9292459eb6188320cf to your computer and use it in GitHub Desktop.
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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