Created
April 5, 2023 06:39
-
-
Save jrichardsz/365cfc4c5971f9d9697d0da3e011e2b5 to your computer and use it in GitHub Desktop.
ssl certificates snippets
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
## docker | |
sudo apt-get update | |
sudo apt install snapd -y | |
sudo snap install core; sudo snap refresh core | |
## steps | |
https://certbot.eff.org/instructions?ws=other&os=ubuntufocal&tab=standard | |
sudo certbot certonly --standalone | |
enter domain without protocol | |
result | |
Successfully received certificate. | |
Certificate is saved at: /etc/letsencrypt/live/app.acme.com/fullchain.pem | |
Key is saved at: /etc/letsencrypt/live/app.acme.com/privkey.pem | |
This certificate expires on 2023-07-04. | |
These files will be updated when the certificate renews. | |
Certbot has set up a scheduled task to automatically renew this certificate in the background. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment