Obtains certificates from Let's Encrypt, using Lexicon to answer DNS-based challenges
Du kan inte välja fler än 25 ämnen
Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
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
|