Skip to content

Question: Does sarama support self-signed certificates with verification enabled? #2623

Closed Answered by dnwe
wcallgair asked this question in Q&A
Discussion options

You must be logged in to vote

@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

Replies: 2 comments

This comment has been hidden.

Comment options

You must be logged in to vote
0 replies
Answer selected by dnwe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #1766 on August 24, 2023 22:18.