mirror of https://tildegit.org/ben/dotfiles
move wildcard-cert to a normal shell script
parent
70a8a6975a
commit
2fd01ead05
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/sh
|
||||||
|
sudo certbot certonly \
|
||||||
|
--dns-rfc2136 \
|
||||||
|
--dns-rfc2136-credentials /root/.secrets/rfc2136.ini \
|
||||||
|
--server https://acme-v02.api.letsencrypt.org/directory \
|
||||||
|
--preferred-challenge dns-01 \
|
||||||
|
--cert-name $1 \
|
||||||
|
-d $1 \
|
||||||
|
-d \*.$1
|
|
@ -1,11 +0,0 @@
|
||||||
function wildcard-cert
|
|
||||||
sudo certbot certonly \
|
|
||||||
--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