Obtains certificates from Let's Encrypt, using Lexicon to answer DNS-based challenges
Nelze vybrat více než 25 témat
Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
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
|