I had a domain which had SSL access disabled. I enabled it, then gone and generated Letsencrypt certificate for it. Then this error occured:
Clicking "Save" again produces the same error.
Here is part of the debug code:
Code:
Cannot enable SNI for Dovecot: SSL is not enabled for this domain
Clicking "Save" again produces the same error.
Here is part of the debug code:
Code:
...
-----END+CERTIFICATE-----%0D%0A&submit=Save
Plugin::addHooks: start
Command::doCommand(/CMD_SSL)
Domain <domain> defaultdomain=yes usertype=1 multiple_ips=0 enable_ssl_sni=1
certValid(cert, 1) - begin
Running /usr/bin/openssl x509 -modulus < /home/tmp/cert_test.pLfC4V 2>&1
singleCertValid():: '/usr/bin/openssl x509 -modulus' returned 0:
Ssl::keyValid result (exec_ret=0):
writing RSA key
Modulus=...
...
-----END RSA PRIVATE KEY-----
Ssl::write_dovecot_sni: username=<user> domain=<domain>
Ssl::write_dovecot_sni: SSL is not enabled for this domain: <domain>
Dynamic(api=0, error=0):
text='Certificate and Key Saved.'
result='Cannot enable SNI for Dovecot: SSL is not enabled for this domain<br>
'
Command::doCommand(/CMD_SSL) : finished
Command::run: finished /CMD_SSL
timeout with null. Sending 0 output.
Last edited: