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.

8 lines
405 B

3 years ago
  1. #!/bin/bash
  2. su - zimbra -c "/opt/zimbra/bin/zmproxyctl stop"
  3. /root/.acme.sh/acme.sh --issue --standalone -d dns_host
  4. su - zimbra -c "
  5. /opt/zimbra/bin/zmcertmgr verifycrt comm /opt/zimbra/ssl/zimbra/commercial/commercial.key /etc/myacme/dns_host/dns_host.cer
  6. /opt/zimbra/bin/zmcertmgr deploycrt comm /etc/myacme/dns_host/dns_host.cer /opt/zimbra/ssl/zimbra/commercial/commercial_ca.crt
  7. zmcontrol restart"