You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to establish SSL connection on our consumer we are failing with error:
%3|1730380644.677|FAIL|rdkafka#consumer-2| [thrd:ssl://some-hostname.net:9093/bootstrap]: ssl://some-hostname.net:9093/bootstrap: SSL handshake failed: error:0A000086:SSL routines::certificate verify failed: broker certificate could not be verified, verify that ssl.ca.location is correctly configured or root CA certificates are installed (install ca-certificates package) (after 622ms in state SSL_HANDSHAKE)
It is very difficult to find documentation about the issue, so I hope you would be able to help.
Hi ssl.endpoint.identification.algorithm checks or doesn't check that broker certificate CN corresponds to its hostname, but the certificate must still be a trusted one. Please make user that that self-signed certificate is included in cacerts.pem. Try making it work with the openssl s_client first.
Discussed in #4204
Error
When I try to establish SSL connection on our consumer we are failing with error:
%3|1730380644.677|FAIL|rdkafka#consumer-2| [thrd:ssl://some-hostname.net:9093/bootstrap]: ssl://some-hostname.net:9093/bootstrap: SSL handshake failed: error:0A000086:SSL routines::certificate verify failed: broker certificate could not be verified, verify that ssl.ca.location is correctly configured or root CA certificates are installed (install ca-certificates package) (after 622ms in state SSL_HANDSHAKE)
It is very difficult to find documentation about the issue, so I hope you would be able to help.
SSL Configuration
Troubleshooting
As suggested in #4204 we tried
sed -i 's/DEFAULT@SECLEVEL=2/DEFAULT@SECLEVEL=0/' /usr/lib/ssl/openssl.cnf
did not helpand
openssl s_client -connect some-hostname.net:9093 -tls1_2 -servername some-hostname.net -cert /certs/tls.crt -key /certs/tls.key -CAfile /certs/cacerts.pem
returns this
Environment
Ubuntu 22.04 in docker container
The text was updated successfully, but these errors were encountered: