From c7e00ea60485f86776c063e780521ec31d736d43 Mon Sep 17 00:00:00 2001 From: f Date: Wed, 20 Dec 2023 11:21:18 -0300 Subject: [PATCH] BREAKING CHANGE: standalone dns server --- .woodpecker.yml | 1 - Dockerfile | 2 +- certbotd.sh | 5 +++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 8dd532a..e70fbca 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -19,4 +19,3 @@ steps: matrix: ALPINE_VERSION: - "3.19.0" - - "3.18.5" diff --git a/Dockerfile b/Dockerfile index d1966d4..8fb0bcc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ MAINTAINER "f " RUN addgroup -S -g 777 ssl RUN install -dm 2700 -o root -g root /root/.ssh -RUN apk add --no-cache certbot jq wget openssh-client rsync certbot-dns-njalla +RUN apk add --no-cache certbot jq wget openssh-client rsync certbot-dns-standalone COPY ./monit.conf /etc/monit.d/certbot.conf COPY ./certbotd.sh /usr/local/bin/certbotd diff --git a/certbotd.sh b/certbotd.sh index d7c901f..c7de934 100755 --- a/certbotd.sh +++ b/certbotd.sh @@ -50,8 +50,9 @@ case $1 in # Get a single certificate for the whole domain /usr/bin/certbot \ - -a dns-njalla \ - --dns-njalla-credentials /etc/letsencrypt/njalla.ini \ + certonly \ + --non-interactive \ + --authenticator "dns-standalone" \ --email "certbot@${SUTTY}" \ --agree-tos \ -d "${SUTTY}" \