update wildcard-cert function

master
Ben Harris 2019-08-23 09:46:50 -04:00
parent 6744462d00
commit b897d96f1c
1 changed files with 8 additions and 7 deletions

View File

@ -1,10 +1,11 @@
function wildcard-cert function wildcard-cert
sudo certbot certonly \ sudo certbot certonly \
--dns-cloudflare \ --dns-rfc2136 \
--dns-cloudflare-credentials /root/.secrets/cloudflare.ini \ --dns-rfc2136-credentials /root/.secrets/rfc2136.ini \
--server https://acme-v02.api.letsencrypt.org/directory \ --server https://acme-v02.api.letsencrypt.org/directory \
--preferred-challenge dns-01 \ --preferred-challenge dns-01 \
--cert-name $argv[1] \ --cert-name $argv[1] \
-d $argv[1] \ -d $argv[1] \
-d \*.$argv[1] -d \*.$argv[1]
end end