-
I have a kafka cluster with self-signed certificates and this works fine with java consumers, however my apps that use sarama cannot connect with tls verification enabled. Ive seen posts from other communities saying they had to disable tlsverify. That dosnt seem correct.. Does sarama support mutual tls with self-signed certificates? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
This comment has been hidden.
This comment has been hidden.
-
@wcallgair yes Sarama just accepts a standard Go tls.Config so if you load in the RootCA that you created the self-signed certificates from, then they'll be trusted and you shouldn't need to disable verification if you have the SubjectAlternativeNames populated with the hostname(s) / ip addresses you want to connect to your backend using |
Beta Was this translation helpful? Give feedback.
@wcallgair yes Sarama just accepts a standard Go tls.Config so if you load in the RootCA that you created the self-signed certificates from, then they'll be trusted and you shouldn't need to disable verification if you have the SubjectAlternativeNames populated with the hostname(s) / ip addresses you want to connect to your backend using