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

Adding TlsClient::new_with_ca(&str) method #6

Closed
wants to merge 1 commit into from

Conversation

mikeokner
Copy link

Allow users to add a .pem file to the trust store to avoid errors in
situations when servers are using a private CA, clients are behind
a TLS proxy, etc.

Allow users to add a .pem file to the trust store to avoid errors in
situations when servers are using a private CA, clients are behind
a TLS proxy, etc.
@ctz
Copy link
Member

ctz commented Apr 22, 2017

Sorry for the delay. This seems like a reasonable thing to want. I think I'd prefer to let people pass in a whole Arc<rustls::ClientConfig>, then they can do all the file IO and error handling outside TlsClient.

@ctz
Copy link
Member

ctz commented Jul 7, 2017

#28 should address this

@ctz ctz closed this Jul 7, 2017
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.

None yet

2 participants