Nenhuma descrição
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

letsencrypt-gencert 435B

12345678910111213
  1. #!/bin/bash
  2. d="$1"
  3. for i in www mail autoconfig read news cloud; do
  4. if (getent hosts $i.$1 > /dev/null); then
  5. d="$d,$i.$1";
  6. fi
  7. done
  8. # We are using the "standalone" letsencrypt plugin, which runs its own
  9. # webserver, so we need to temporarily free up the HTTP(S) ports by stopping
  10. # our own Apache.
  11. service apache2 stop
  12. /root/letsencrypt/letsencrypt-auto certonly -c /etc/letsencrypt/cli.conf --domains $d
  13. service apache2 start