From b897d96f1c58bec7234035fb67d153d78e54f8ff Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Fri, 23 Aug 2019 09:46:50 -0400 Subject: [PATCH] update wildcard-cert function --- fish/.config/fish/functions/wildcard-cert.fish | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/fish/.config/fish/functions/wildcard-cert.fish b/fish/.config/fish/functions/wildcard-cert.fish index c18038d..c9d083d 100644 --- a/fish/.config/fish/functions/wildcard-cert.fish +++ b/fish/.config/fish/functions/wildcard-cert.fish @@ -1,10 +1,11 @@ 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] \ + 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 +