Pradeep
07/25/2020, 11:04 PMKafkaConfluentSchemaRegistryAvroMessageDecoder
We have a schema registry set up with SSL authentication. I am getting SSLHandshakeException
Wondering what is the proper way to pass the SSL certs config for the schema registry client?
I digged a bit into the code, it seems like pinot needs to update the schema-registry-client
to include this (https://github.com/confluentinc/schema-registry/pull/957)
with some code changes. Can be accomplished without it too.
Wanted to check before if there is an alternative way to accomplish this?Elon
07/25/2020, 11:37 PMPradeep
07/25/2020, 11:59 PMElon
07/26/2020, 12:17 AMPradeep
07/26/2020, 12:17 AMDaniel Lavoie
07/26/2020, 2:03 PM-Dssl.*
on the pinot JVMs?Pradeep
07/26/2020, 5:23 PMException while in work
org.apache.kafka.common.errors.SerializationException: Error deserializing Avro message for id 34
Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.ssl.Alerts.getSSLException(Alerts.java:198) ~[?:1.8.0_252]
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1967) ~[?:1.8.0_252]
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:331) ~[?:1.8.0_252]
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:325) ~[?:1.8.0_252]
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1688) ~[?:1.8.0_252]
at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:226) ~[?:1.8.0_252]
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1082) ~[?:1.8.0_252]
at sun.security.ssl.Handshaker.process_record(Handshaker.java:1010) ~[?:1.8.0_252]
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1079) ~[?:1.8.0_252]
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1388) ~[?:1.8.0_252]
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1416) ~[?:1.8.0_252]
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1400) ~[?:1.8.0_252]
at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559) ~[?:1.8.0_252]
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185) ~[?:1.8.0_252]
Daniel Lavoie
07/26/2020, 5:25 PMPradeep
07/26/2020, 5:26 PMPradeep
07/26/2020, 5:26 PMPradeep
07/26/2020, 5:37 PMPradeep
07/26/2020, 6:35 PMElon
07/27/2020, 2:51 AM