Skip to content

Instantly share code, notes, and snippets.

@pavlakis
Last active August 30, 2021 18:00
Show Gist options
  • Save pavlakis/d8851054acbe80f7ee21e5e1ce4d27df to your computer and use it in GitHub Desktop.
Save pavlakis/d8851054acbe80f7ee21e5e1ce4d27df to your computer and use it in GitHub Desktop.
acme.sh keep LetsEncrypt CA
# 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