Unable to log in to Roundcube webmail on Plesk server: Can't load DH parameters: dh key too small

Follow

Comments

2 comments

  • Avatar
    Florian Cheno

    Option --regenerate-dhparams is missing in the command

    0
    Comment actions Permalink
  • Avatar
    Alex Davydov

    @Florian Cheno
    There is no need in this additional option. The required file will be regenerated even if it is missed. For example:

    # ls -la /usr/local/psa/etc/ | grep .pem
    -rw-r--r--  1 root root    245 Jan 28  2020 dhparams1024.pem
    -rw-r--r--  1 root root    424 Sep 27 15:16 dhparams2048.pem
    -r--------  1 root root   2930 Jan 28  2020 httpsd.pem
    # rm -f /usr/local/psa/etc/dhparams2048.pem
    # ls -la /usr/local/psa/etc/ | grep .pem
    -rw-r--r--  1 root root    245 Jan 28  2020 dhparams1024.pem
    -r--------  1 root root   2930 Jan 28  2020 httpsd.pem
    # plesk sbin sslmng --service dovecot --strong-dh --dhparams-size=2048
    # ls -la /usr/local/psa/etc/ | grep .pem
    -rw-r--r--  1 root root    245 Jan 28  2020 dhparams1024.pem
    -rw-r--r--  1 root root    424 Sep 27 15:17 dhparams2048.pem
    -r--------  1 root root   2930 Jan 28  2020 httpsd.pem
    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request