Last active
May 11, 2018 10:29
-
-
Save asabla/8755ab73a11bb035907070bc1f07902d to your computer and use it in GitHub Desktop.
Docker certbot examples
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 run -it --name certbot \ | |
-v <certs>:/etc/letsencrypt \ | |
-v <logs>:/var/lib/letsencrypt \ | |
-v <do-secret>:/.secrets \ | |
certbot/dns-digitalocean certonly \ | |
--agree-tos \ | |
--dns-digitalocean \ | |
--dns-digitalocean-credentials /.secrets/do-token.ini \ | |
--dns-digitalocean-propagation-seconds 60 \ | |
--preferred-challenges dns-01 \ | |
--server https://acme-v02.api.letsencrypt.org/directory \ | |
-d asabla.net -d *.asabla.net |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment