Obtains certificates from Let's Encrypt, using Lexicon to answer DNS-based challenges
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
123456789101112131415 |
- #!/usr/bin/env bash
-
- interrupt() {
- echo
- echo "Caught ^C, exiting."
- exit 1
- }
-
- trap interrupt SIGINT
-
- while true; do
- /letsencrypt.sh --cron --cleanup --hook /lexicon.sh --challenge dns-01
- inotifywait --timeout 86400 /letsencrypt/domains.txt
- sleep 60
- done
|