mirror of https://tildegit.org/ben/dotfiles
add wildcard-cert function
parent
c6a76a497d
commit
42d6950004
|
@ -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
|
Loading…
Reference in New Issue