install_update_dovecot.sh: add parameter '-dsaparam' to created dh parameter faster.
This commit is contained in:
parent
1edcb20c95
commit
a87f841172
@ -1384,7 +1384,7 @@ if [[ $dovecot_major_version -ge 3 ]] \
|
|||||||
if [[ ! -f "$dh_pem_file" ]] ; then
|
if [[ ! -f "$dh_pem_file" ]] ; then
|
||||||
echononl "\tCreate SSL DH parameters '$dh_pem_file'.."
|
echononl "\tCreate SSL DH parameters '$dh_pem_file'.."
|
||||||
echo -en "$rc_wait"
|
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
|
if [[ $? -eq 0 ]]; then
|
||||||
echo -e "$rc_done"
|
echo -e "$rc_done"
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user