install_update_dovecot.sh: add parameter '-dsaparam' to created dh parameter faster.

This commit is contained in:
Christoph 2020-08-15 02:08:33 +02:00
parent 1edcb20c95
commit a87f841172

View File

@ -1384,7 +1384,7 @@ if [[ $dovecot_major_version -ge 3 ]] \
if [[ ! -f "$dh_pem_file" ]] ; then
echononl "\tCreate SSL DH parameters '$dh_pem_file'.."
echo -en "$rc_wait"
openssl dhparam -out "$dh_pem_file" 4096 > /dev/null 2>&1
openssl dhparam -dsaparam -out "$dh_pem_file" 4096 > /dev/null 2>&1
if [[ $? -eq 0 ]]; then
echo -e "$rc_done"
else