Nginx server error log showing several ssl_read() errors

SYSTEM INFORMATION
OS type and version Rocky Linux 9.2
Webmin version 2.021
Virtualmin version 7.7
Related packages nginx, openssl

Hello everyone. I just installed fresh Virtualmin with the LEMP stack yesterday and have begun migrating sites to it. I keep getting this message in the nginx error log:

[crit] 114775#114775: *6880 SSL_read() failed (SSL: error:0A000126:SSL routines::unexpected eof while reading) while keepalive, client: x.x.x.x, server: x.x.x.x:443

A cursory search of this topic on the general internet shows that nginx is loading an outdated cipher that is no longer supported by OpenSSL. My sites appear to be loading just fine with the standard SSL certificate provided by Let’s Encrypt. Any thought on how to resolve this error?

Check in Virtualmin -> Server Configuration -> SSL Certificate that it does show the LE certificate issuer organisation as LE
Issuer name = R3
and that it is valid (not expired) for the domain.
also check the certs are where they claim to be.
If all good - just check nginx configuration is good nginx -t
still good then restart nginx from the Dashboard

I am unfortunately getting the same error messages despite following the above.

Sorry about that. I am now thinking this is an OpenSSL problem.
OpenSSL
Nothing to do with Nginx or LE.
I think there is something out there about some setting SSL_OP_IGNORE_UNEXPECTED_EOF
but where I’m unsure - I have never had the need to add OpenSSL.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.