cleate_certs.sh 355 B

1234567891011121314
  1. #!/bin/bash
  2. # create new cert
  3. domains=( "nixtech.ru" "qbpro.ru" "support.qbpro.ru" "webmail.qbpro.ru" );
  4. adminmail="stvixfree@gmail.com";
  5. function createCert() {
  6. for ((dmn=0; dmn != ${#domains[@]}; dmn++))
  7. do
  8. certbot certonly --standalone -d ${domains[$dmn]} --non-interactive --agree-tos --email $adminmail --http-01-port=55777
  9. done
  10. }
  11. createCert;