commit | 1ba5381a59770700b02f1f1023d2b2dca73c5e8d | [log] [tgz] |
---|---|---|
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | Tue Dec 27 17:32:58 2022 +0100 |
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | Tue Dec 27 17:32:58 2022 +0100 |
tree | 528a81eb8aeda2c3aed62879608e1de4083760b5 | |
parent | d2755e91695519a72e9d9f0c9bae69c26c6fb11e [diff] |
git subrepo commit mailcow/src/mailcow-dockerized subrepo: subdir: "mailcow/src/mailcow-dockerized" merged: "308860af" upstream: origin: "https://github.com/mailcow/mailcow-dockerized.git" branch: "master" commit: "3f1a5af8" git-subrepo: version: "0.4.5" origin: "???" commit: "???" Change-Id: I5d51c14b45db54fe706be40a591ddbfcea50d4b0
diff --git a/mailcow/src/mailcow-dockerized/data/Dockerfiles/acme/Dockerfile b/mailcow/src/mailcow-dockerized/data/Dockerfiles/acme/Dockerfile index 82369a8..571c3d0 100644 --- a/mailcow/src/mailcow-dockerized/data/Dockerfiles/acme/Dockerfile +++ b/mailcow/src/mailcow-dockerized/data/Dockerfiles/acme/Dockerfile
@@ -1,4 +1,4 @@ -FROM alpine:3.14 +FROM alpine:3.17 LABEL maintainer "Andre Peters <andre.peters@servercow.de>"
diff --git a/mailcow/src/mailcow-dockerized/data/Dockerfiles/acme/obtain-certificate.sh b/mailcow/src/mailcow-dockerized/data/Dockerfiles/acme/obtain-certificate.sh index a151dff..7434411 100644 --- a/mailcow/src/mailcow-dockerized/data/Dockerfiles/acme/obtain-certificate.sh +++ b/mailcow/src/mailcow-dockerized/data/Dockerfiles/acme/obtain-certificate.sh
@@ -80,7 +80,7 @@ printf "[SAN]\nsubjectAltName=" > /tmp/_SAN printf "DNS:%s," "${CERT_DOMAINS[@]}" >> /tmp/_SAN sed -i '$s/,$//' /tmp/_SAN -openssl req -new -sha256 -key ${KEY} -subj "/" -reqexts SAN -config <(cat /etc/ssl/openssl.cnf /tmp/_SAN) > ${CSR} +openssl req -new -sha256 -key ${KEY} -subj "/" -reqexts SAN -config <(cat "$(openssl version -d | sed 's/.*"\(.*\)"/\1/g')/openssl.cnf" /tmp/_SAN) > ${CSR} # acme-tiny writes info to stderr and ceritifcate to stdout # The redirects will do the following: