-
-
Save artcommacode/28dc5d3eac67bf26107044c7fc21646a to your computer and use it in GitHub Desktop.
Execute Certbot
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
# Use Let's Encrypt certbot to order a free certificate | |
certbot certonly --non-interactive --manual \ | |
--manual-auth-hook "./auth-hook.sh UPSERT your_domain.com" \ | |
--manual-cleanup-hook "./auth-hook.sh DELETE your_domain.com" \ | |
--preferred-challenge dns \ | |
--config-dir "./letsencrypt" \ | |
--work-dir "./letsencrypt" \ | |
--logs-dir "./letsencrypt" \ | |
--agree-tos \ | |
--manual-public-ip-logging-ok \ | |
--domains your_domain.com,www.your_domain.com \ | |
--email [email protected] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment