Obtains certificates from Let's Encrypt, using Lexicon to answer DNS-based challenges
Nevar pievienot vairāk kā 25 tēmas
Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
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
|