move wildcard-cert to a normal shell script

master
Ben Harris 2024-09-13 01:45:15 -04:00
parent 70a8a6975a
commit 2fd01ead05
2 changed files with 9 additions and 11 deletions

View File

@ -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

View File

@ -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