Working Draft

This commit is contained in:
2022-11-12 16:54:48 +01:00
parent 273cb5f829
commit dde53d3452
6 changed files with 80 additions and 61 deletions

14
config/mail/Dockerfile Normal file
View File

@ -0,0 +1,14 @@
FROM alpine
MAINTAINER Lieuwe Leene
ARG SSL_ALGO=secp521r1
RUN apk update && \
apk add --no-cache openssl && \
rm -rf /var/cache/apk/*
RUN mkdir -p /etc/letsencrypt/live
RUN openssl ecparam -name ${SSL_ALGO} -genkey | openssl pkey -out /etc/letsencrypt/live/ecprivkey.pem && \
openssl pkey -in /etc/letsencrypt/live/ecprivkey.pem -pubout -out /etc/letsencrypt/live/ecpubkey.pem