add wildcard-cert function

weechat-localhost
Ben Harris 2018-10-09 16:00:53 -04:00
parent c6a76a497d
commit 42d6950004
1 changed files with 10 additions and 0 deletions

View File

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