On 30/04/2020 14:49 hanas...@gmail.com <hanas...@gmail.com> wrote:Recently thunderbird and Dovecot IMAPS cannot agree on SSL howeverEvolution, on the exact same system, is working fine with the sameaccounts. Tried recreating the Dovecot cert and also the thunderbirdaccounts from scratch. The OpenSSL raw client works fine as well.Would someone also confirm the openssl commands to create a selfsignedcert for dovecot imaps. They cert created does work with evolution;just not thunderbird.Thoughts?Apr 8 18:10:18 hh dovecot: imap-login: Debug: SSL error: SSL_accept()failed: error:14094412:SSL routines:ssl3_read_bytes:sslv3 alert badcertificate: SSL alert number 42Apr 8 18:10:18 hh dovecot: imap-login: Disconnected (no auth attempts in0 secs): user=<>, rip=000, lip=0000 TLS handshaking: SSL_accept()failed: error:14094412:SSL routines:ssl3_read_bytes:sslv3 alert badcertificate: SSL alert number 42, session=<-->Apr 8 18:10:19 hh dovecot: imap-login: Debug: SSL: where=0x10, ret=1:before SSL initializationApr 8 18:10:19 hh dovecot: imap-login: Debug: SSL: where=0x2001, ret=1:before SSL initializationApr 8 18:10:19 hh dovecot: imap-login: Debug: SSL: where=0x2002, ret=-1:before SSL initializationApr 8 18:10:19 hh dovecot: imap-login: Debug: SSL: where=0x2001, ret=1:before SSL initializationApr 8 18:10:19 hh dovecot: imap-login: Debug: SSL: where=0x2001, ret=1:SSLv3/TLS read client helloApr 8 18:10:19 hh dovecot: imap-login: Debug: SSL: where=0x2001, ret=1:SSLv3/TLS write server helloApr 8 18:10:19 hh dovecot: imap-login: Debug: SSL: where=0x2001, ret=1:SSLv3/TLS write change cipher specApr 8 18:10:19 hh dovecot: imap-login: Debug: SSL: where=0x2001, ret=1:TLSv1.3 write encrypted extensionsApr 8 18:10:19 hh dovecot: imap-login: Debug: SSL: where=0x2001, ret=1:SSLv3/TLS write certificateApr 8 18:10:19 hh dovecot: imap-login: Debug: SSL: where=0x2001, ret=1:TLSv1.3 write server certificate verifyApr 8 18:10:19 hh dovecot: imap-login: Debug: SSL: where=0x2001, ret=1:SSLv3/TLS write finishedApr 8 18:10:19 hh dovecot: imap-login: Debug: SSL: where=0x2001, ret=1:TLSv1.3 early dataApr 8 18:10:19 hh dovecot: imap-login: Debug: SSL: where=0x2002, ret=-1:TLSv1.3 early dataApr 8 18:10:19 hh dovecot: imap-login: Debug: SSL: where=0x2002, ret=-1:TLSv1.3 early dataApr 8 18:10:19 hh dovecot: imap-login: Debug: SSL: where=0x2002, ret=-1:TLSv1.3 early dataApr 8 18:10:19 hh dovecot: imap-login: Debug: SSL: where=0x2002, ret=-1:TLSv1.3 early dataApr 8 18:10:19 hh dovecot: imap-login: Debug: SSL alert: where=0x4004,ret=554: fatal bad certificateApr 8 18:10:19 hh dovecot: imap-login: Debug: SSL: where=0x2002, ret=-1:errorApr 8 18:10:19 hh dovecot: imap-login: Debug: SSL error: SSL_accept()failed: error:14094412:SSL routines:ssl3_read_bytes:sslv3 alert badcertificate: SSL alert number 42Apr 8 18:10:19 firewall dovecot: imap-login: Disconnected (no authattempts in 0 secs): user=<>, rip=000, lip=00, TLS handshaking:SSL_accept() failed: error:14094412:SSL routines:ssl3_read_bytes:sslv3alert bad certificate: SSL alert number 42, session=<--->reference
You are missing intermediate certs from your certfile. Put them after cert in order towards root.
--- Aki Tuomi