diff --git a/bin/bin/wildcard-cert b/bin/bin/wildcard-cert new file mode 100755 index 0000000..9026e88 --- /dev/null +++ b/bin/bin/wildcard-cert @@ -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 diff --git a/fish/.config/fish/functions/wildcard-cert.fish b/fish/.config/fish/functions/wildcard-cert.fish deleted file mode 100644 index c9d083d..0000000 --- a/fish/.config/fish/functions/wildcard-cert.fish +++ /dev/null @@ -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 -