SSLHandshakeException: While using ABRiS latest version
See original GitHub issueWe have an application consuming data from Kafka (in avro format) using Spark streaming, but Kafka is enabled with 2 way SSL.
our Spark code has been working fine ABRiS (za.co.absa:abris_2.11:4.2.0) older version for longer time, we had to upgrade to Scala 2.12 and tried with library za.co.absa:abris_2.12:4.2.0 and it started throwing SSL error while deserializing.
Here is the SSL settings which is working with 2.11 version of scala
Map (
"schema.registry.url" -> schemaRegistry,
"schema.registry.topic" -> topic,
"schema.registry.ssl.truststore.location" -> ("ssl.truststore.location"),
"schema.registry.ssl.truststore.password" -> ("ssl.truststore.password"),
"schema.registry.ssl.keystore.location" ->("ssl.keystore.location"),
"schema.registry.ssl.keystore.password" -> ("ssl.keystore.password"),
"schema.registry.ssl.key.password" -> ("ssl.key.password"),
"value.schema.naming.strategy" -> "topic.name",
"value.schema.id" -> "latest",
"value.schema.version" -> "latest"
)
but same thing is throwing below error with 2.12 version
SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Caused by: ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Caused by: SunCertPathBuilderException: unable to find valid certification path to requested target
Can you please throw some inputs on this
Issue Analytics
- State:
- Created 2 years ago
- Comments:5
Top Results From Across the Web
Untitled
Sag es laut karaoke version, Internet enabled blu ray dvd player, ... Fast track ski news, Good players to mass bid on, Print...
Read more >Auto-resolve schema by Confluent magic bytes using ABRiS ...
Is there a way to automatically resolve the schema by the leading magic byte for each message, which contains the schema id for...
Read more >Schema Registry Security Overview - Confluent Documentation
Schema Registry consumes from the _schemas log in a background thread, ... If you want to enable use.latest.version , you must disable auto...
Read more >ABRiS - githubmemory
Issue with from_avro in Abris 6.1.1 · Getting zero byte files using abris · Nested avro schema registry not supported · Apicurio Registry...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Awesome, it worked, Thanks for the response. is there any advantage running with latest version of ABRiS library (4.2 over 3.1)
Yes, there were some bug fixes and performance improvements.
You can see the full list of changes here: https://github.com/AbsaOSS/ABRiS/releases