-
Notifications
You must be signed in to change notification settings - Fork 859
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Two way TLS to schema registry doesn't work anymore with 3.31.0 #498
Comments
@yvespp I'm new to this, so pardon my ignorance. Suppose you would be able to set the |
@Bert-R I found an old pull request which adds configuration for the schema registry: #237 I think the scheme reg props could also be passed directly without creating a client via: Why this stopped working is still a mystery to me, I looked at the schema registry code but couldn't find something suspicious. Code: https://github.com/confluentinc/schema-registry/blob/9f9a1e52b9f2c55a2b37162320d6ba1275bdf594/avro-serializer/src/main/java/io/confluent/kafka/serializers/KafkaAvroDeserializer.java#L56 |
@davideicardi We have two topics that relate:
I propose we wait the refactoring that is coming with #488, then take up #237 and through that address #498. |
It seems a good idea for me 👍 |
This issue is stale because it has been open for 30 days with no activity. |
This issue is stale because it has been open for 30 days with no activity. |
This issue was closed because it has been inactive for 14 days since being marked as stale. |
With version 3.31.0 we are no longer able to connect to the schema registry with two way TLS.
Test URL: https://my-host/topic/my-topic/messages?partition=0&offset=0&count=100&keyFormat=DEFAULT&format=AVRO&isAnyProto=false
Exception:
With
-Djavax.net.debug=all
I can see, that no certificate was selected:With 3.30.0 it was enough to configure this:
Properties in
KAFKA_PROPERTIES_FILE
:JVM_OPTS:
I also tried setting
schema.registry.ssl.keystore.*
via properties andJVM_OPTS
but it didn't make a difference.I think the cause for this is the update of the Kafka libs from 7.2 to 7.3 because we had a similar problem with
kafka-avro-console-consumer
. In the newer version we had to set all the keystore/truststore settings via--property schema.registry.ssl.keystore.*
to get it to work again.Is there a way to set the KafkaAvroDeserializerConfig directly? Log:
The text was updated successfully, but these errors were encountered: