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.

run.sh 265B

123456789101112131415
  1. #!/usr/bin/env bash
  2. interrupt() {
  3. echo
  4. echo "Caught ^C, exiting."
  5. exit 1
  6. }
  7. trap interrupt SIGINT
  8. while true; do
  9. /letsencrypt.sh --cron --cleanup --hook /lexicon.sh --challenge dns-01
  10. inotifywait --timeout 86400 /letsencrypt/domains.txt
  11. sleep 60
  12. done