Skip to content
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

Set RootCAs to nil in default case. #92

Merged
merged 1 commit into from
Jan 9, 2023

Conversation

errm
Copy link
Contributor

@errm errm commented Mar 15, 2019

Currently we create an empty CA store, which is not a very useful
default.

The documentation for cryto/tls#Config says:

If RootCAs is nil, TLS uses the host's root CA set.

I want to use this with confluent cloud, that is using certificates
signed by a proper root CA. So loading the system CAs makes everything
work properly just by enabling tls --tls.enabled

Currently we create an empty CA store, which is not a very useful
default.

The documentation for [cryto/tls#Config](https://godoc.org/crypto/tls#Config) says:

> If RootCAs is nil, TLS uses the host's root CA set.

I want to use this with confluent cloud, that is using certificates
signed by a proper root CA. So loading the system CAs makes everything
work properly just by enabling tls `--tls.enabled`
@errm
Copy link
Contributor Author

errm commented Jan 9, 2023

📝 @danielqsj ... this is still an issue... any chance you could review this PR?

@danielqsj
Copy link
Owner

@errm sorry, I miss this. LGTM, thanks~

@danielqsj danielqsj merged commit 9d9cd65 into danielqsj:master Jan 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants