Last active
August 30, 2021 18:00
-
-
Save pavlakis/d8851054acbe80f7ee21e5e1ce4d27df to your computer and use it in GitHub Desktop.
acme.sh keep LetsEncrypt CA
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
# Should be running acme.sh v3 | |
~/.acme.sh/acme.sh --upgrade | |
# Set the default CA to LetsEncrypt | |
~/.acme.sh/acme.sh --set-default-ca --server letsencrypt | |
# Issue a certificate using AWS Route 53 | |
~/.acme.sh/acme.sh --issue --dns dns_aws -d example.com | |
# Install certificates and restart web server | |
~/.acme.sh/acme.sh --install-cert -d example.com --keypath ~/ssl/example.com/privkey.pem --fullchainpath ~/ssl/example.com/fullchain.pem --reloadcmd "service nginx force-reload" | |
# See documentation for more examples: https://github.com/acmesh-official/acme.sh#3-install-the-cert-to-apachenginx-etc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment