No Description
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.

letsencrypt-gencert 251B

123456789
  1. #!/bin/bash
  2. service apache2 stop
  3. d="$1"
  4. for i in www mail autoconfig read news cloud git; do
  5. if (getent hosts $i.$1 > /dev/null); then
  6. d="$d,$i.$1";
  7. fi
  8. done
  9. /root/letsencrypt/letsencrypt-auto certonly -c /etc/letsencrypt/cli.conf --domains $d