mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-11-22 02:17:26 +00:00
commit
a3e526e818
@ -45,7 +45,7 @@ fi
|
|||||||
|
|
||||||
# For nginx and postfix, pre-generate some Diffie-Hellman cipher bits which is
|
# For nginx and postfix, pre-generate some Diffie-Hellman cipher bits which is
|
||||||
# used when a Diffie-Hellman cipher is selected during TLS negotiation. Diffie-Hellman
|
# used when a Diffie-Hellman cipher is selected during TLS negotiation. Diffie-Hellman
|
||||||
# provides Perfect Forward Security. openssl's default is 1024 bits, but we'll
|
# provides Perfect Forward Secrecy. openssl's default is 1024 bits, but we'll
|
||||||
# create 2048.
|
# create 2048.
|
||||||
if [ ! -f $STORAGE_ROOT/ssl/dh2048.pem ]; then
|
if [ ! -f $STORAGE_ROOT/ssl/dh2048.pem ]; then
|
||||||
openssl dhparam -out $STORAGE_ROOT/ssl/dh2048.pem 2048
|
openssl dhparam -out $STORAGE_ROOT/ssl/dh2048.pem 2048
|
||||||
|
Loading…
Reference in New Issue
Block a user