mirror of https://tildegit.org/ben/dotfiles
update wildcard-cert function
parent
6744462d00
commit
b897d96f1c
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue