add dh param generation
This commit is contained in:
parent
ef2dab732c
commit
da2b76bba4
1 changed files with 5 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue