mirror of https://tildegit.org/ben/dotfiles
update wildcard-cert function
parent
6744462d00
commit
b897d96f1c
|
@ -1,10 +1,11 @@
|
|||
function wildcard-cert
|
||||
sudo certbot certonly \
|
||||
--dns-cloudflare \
|
||||
--dns-cloudflare-credentials /root/.secrets/cloudflare.ini \
|
||||
--dns-rfc2136 \
|
||||
--dns-rfc2136-credentials /root/.secrets/rfc2136.ini \
|
||||
--server https://acme-v02.api.letsencrypt.org/directory \
|
||||
--preferred-challenge dns-01 \
|
||||
--cert-name $argv[1] \
|
||||
-d $argv[1] \
|
||||
-d \*.$argv[1]
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue