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

Allow TLS client config to be overridden #58

Merged
merged 1 commit into from
May 20, 2020

Conversation

robyoung
Copy link
Contributor

@robyoung robyoung commented May 14, 2020

See: ClientConfig

Addresses: #37

I am adding this so that I can provide a client certificate. However providing a custom ClientConfig allows for changing a lot more, such as custom trust anchors.

I have done the integration testing with https://badssl.com to avoid having to spin up a TLS terminating server locally, hope that's ok.

Copy link
Contributor

@davidiw davidiw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is awesome, I had just proposed an issue on this the other day without thinking to look at PRs.

@davidiw
Copy link
Contributor

davidiw commented May 20, 2020

@algesten anyway we could get this into crates.io? We're likely going to have to patch this in in the meantime.

@algesten
Copy link
Owner

@davidiw hey! I've been busy with some work stuff. I'll check the PR now.

Copy link
Owner

@algesten algesten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent PR! Thanks! ✨

@algesten algesten merged commit 2e3a751 into algesten:master May 20, 2020
@robyoung robyoung deleted the add-custom-tls-client-config branch May 20, 2020 19:06
@algesten
Copy link
Owner

Pushed in 1.1.0

@davidiw
Copy link
Contributor

davidiw commented May 20, 2020

Thank you so much!

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.

3 participants