Replies: 1 comment
-
I have the same problem. It seems like maybe the configured truststore is used for connecting to the brokers, but the schema registry connection does not use it? I haven't tried looking at the code yet so I'm just guessing. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey Everyone,
I am trying to establish a connection to an HTTPS Schema Registry url. However, I get SSLHandshakeException.
config:
The brokers are mTLS secured, Schema Registry just uses TLS on server side without client authentication. The presented server certificates are signed by the same CA and this certificate is present in /ssl/kafka-user-secret/ca.crt. I already verified the certificate in two ways:
The exception is
The connection observed an error io.netty.handler.codec.DecoderException: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
During startup the AdminClientConfig values are printed to the log. They don't look suspicious:
In the documentation it is stated that Kafka UI use the same truststore for Schema Registry, Broker and Connect. Am I missing something?
Beta Was this translation helpful? Give feedback.
All reactions