add dh param generation
This commit is contained in:
parent
ef2dab732c
commit
da2b76bba4
5
rootfs/etc/cont-init.d/02-dhparam
Normal file
5
rootfs/etc/cont-init.d/02-dhparam
Normal file
@ -0,0 +1,5 @@
|
||||
#!/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
|
Loading…
Reference in New Issue
Block a user