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

How to specify client cert for two-way SSL? #108

Open
seawaffle opened this issue May 24, 2024 · 1 comment
Open

How to specify client cert for two-way SSL? #108

seawaffle opened this issue May 24, 2024 · 1 comment

Comments

@seawaffle
Copy link

I've been using minreq with the https-native feature and it's working perfectly fine for one-way SSL if I specify the CA cert using the SSL_CERT_FILE variable. I'm unsure of how to specify the client key and cert for situations where I need two-way SSL. I didn't see any mention of this in the docs. It feels like this should be doable, I'm just unsure how. Thanks for any guidance you can give!

@neonmoe
Copy link
Owner

neonmoe commented May 25, 2024

Minreq doesn't support this explicitly, and I don't think we expose enough of the underlying https libraries to be able to work around it.

This would be nice to have though, so maybe in the future, if someone contributes it or I get around to it.

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

No branches or pull requests

2 participants