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

6 lines
139 B
Plaintext
Raw Normal View History

2018-02-16 09:02:47 +00:00
#!/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