7

At one of my systems I can see from time to time error messages like:

TLS: SSL_read() failed: error:140E0197:SSL routines:SSL_shutdown:shutdown while in init

What might causes these errors?

1

This error means dovecot called SSL_shutdown() before full SSL handshake with client was made.

It was fixed (by not calling SSL_shutdown() in such case) in dovecot 2.3.2 with commit:

commit 5231b55f35f862976508358716c7c304d306b0d6
Author: Kadlecsik József
Date:   Tue Mar 20 12:21:33 2018 +0200

    lib-ssl-iostream: Fix openssl compatibility issue introduced in OpenSSL 1.0.2f

    Fixes dovecot: imap-login: Debug: SSL error: SSL_read() failed: error:140E0197:SSL routines:SSL_shutdown:shutdown while in init

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.