Ignore:
Timestamp:
09/10/18 15:25:59 (7 years ago)
Author:
Edwin Eefting <edwin@datux.nl>
Branches:
master, perl-5.22
Children:
4933918
Parents:
66e7a2c
Message:

fix dh2048, causing slow mail delivery when TLS is used.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • npl/mailserver/netqmail_conf/root/etc/postinst.d/post.qmail_conf

    r66e7a2c rc9ea2dd  
    6565
    6666#TLS configuration
    67 if ! [ -e /var/qmail/control/dh1024.pem ]; then
    68     openssl dhparam -out /var/qmail/control/dh1024.pem.tmp 1024 || exit 1
    69     chown qmaild /var/qmail/control/dh1024.pem.tmp || exit 1
    70     chmod 400 /var/qmail/control/dh1024.pem.tmp || exit 1
    71     mv /var/qmail/control/dh1024.pem.tmp /var/qmail/control/dh1024.pem || exit 1
     67if ! [ -e /var/qmail/control/dh2048.pem ]; then
     68    openssl dhparam -out /var/qmail/control/dh2048.pem.tmp 2048 || exit 1
     69    chown qmaild /var/qmail/control/dh2048.pem.tmp || exit 1
     70    chmod 400 /var/qmail/control/dh2048.pem.tmp || exit 1
     71    mv /var/qmail/control/dh2048.pem.tmp /var/qmail/control/dh2048.pem || exit 1
    7272fi
     73
    7374
    7475#certificate
Note: See TracChangeset for help on using the changeset viewer.