dovecot/rootfs/etc/cont-init.d/02-dhparam

6 lines
139 B
Plaintext

#!/usr/bin/with-contenv sh
if [ ! -f /etc/ssl/mail/dh.pem ]; then
openssl dhparam -out /etc/ssl/mail/dh.pem ${SSL_DH_LENGTH:-2048}
fi