use preinstalled dh params file instead of generating a new one which takes a lot of time

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-11-13 15:09:16 +01:00
parent cc1d427a69
commit 6904acc9ea
8 changed files with 8 additions and 16 deletions

View File

@@ -2522,7 +2522,7 @@ service stats {
ssl = yes
ssl_cert = <<SSL_CERT_FILE>
ssl_key = <<SSL_KEY_FILE>
ssl_dh = </etc/dovecot/dh.pem
ssl_dh = </usr/share/dovecot/dh.pem
postmaster_address = postmaster@<SERVERNAME>
@@ -2545,7 +2545,6 @@ plugin {
</file>
</files>
<commands index="1">
<command><![CDATA[openssl dhparam -out /etc/dovecot/dh.pem 4096]]></command>
<command><![CDATA[service dovecot restart]]></command>
</commands>
</general>