BREAKING CHANGE: standalone dns server
This commit is contained in:
parent
92b8307217
commit
c7e00ea604
3 changed files with 4 additions and 4 deletions
|
@ -19,4 +19,3 @@ steps:
|
||||||
matrix:
|
matrix:
|
||||||
ALPINE_VERSION:
|
ALPINE_VERSION:
|
||||||
- "3.19.0"
|
- "3.19.0"
|
||||||
- "3.18.5"
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ MAINTAINER "f <f@sutty.nl>"
|
||||||
|
|
||||||
RUN addgroup -S -g 777 ssl
|
RUN addgroup -S -g 777 ssl
|
||||||
RUN install -dm 2700 -o root -g root /root/.ssh
|
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 ./monit.conf /etc/monit.d/certbot.conf
|
||||||
COPY ./certbotd.sh /usr/local/bin/certbotd
|
COPY ./certbotd.sh /usr/local/bin/certbotd
|
||||||
|
|
|
@ -50,8 +50,9 @@ case $1 in
|
||||||
|
|
||||||
# Get a single certificate for the whole domain
|
# Get a single certificate for the whole domain
|
||||||
/usr/bin/certbot \
|
/usr/bin/certbot \
|
||||||
-a dns-njalla \
|
certonly \
|
||||||
--dns-njalla-credentials /etc/letsencrypt/njalla.ini \
|
--non-interactive \
|
||||||
|
--authenticator "dns-standalone" \
|
||||||
--email "certbot@${SUTTY}" \
|
--email "certbot@${SUTTY}" \
|
||||||
--agree-tos \
|
--agree-tos \
|
||||||
-d "${SUTTY}" \
|
-d "${SUTTY}" \
|
||||||
|
|
Loading…
Reference in a new issue