Ubutun x Openssl 3 - SSL error


After change to Ubuntu 22.04 LTS certain CURL connections with servers, is returning the error above:
OpenSSL_SSL_red: error: OA000126:SSLroutines::unexpected eof while reading, errno0

Searching, I found that this error happens in openSSL version 3.

To get around it in theory, it is possible by the option in ssl conf


But it’s not having any effect.
Does anyone know how to get around this problem?