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

Supporting client authentication #10

Open
MichaelViveros opened this issue Nov 13, 2019 · 3 comments
Open

Supporting client authentication #10

MichaelViveros opened this issue Nov 13, 2019 · 3 comments

Comments

@MichaelViveros
Copy link

MichaelViveros commented Nov 13, 2019

Hello, I'm adding client authentication to my application and I want to use stubbex to test it. To support this, I think all we would need to do is add some SSL configs similar to stubbex_cert_pem that would allow the client to send its client certificate and the server to verify it. Let me know what you think and I can get started on a PR if you're on board.

@MichaelViveros
Copy link
Author

@yawaramin ?

@yawaramin
Copy link
Owner

Hi Michael, am I understanding correctly that this change would allow Stubbex to talk to an HTTPS endpoint on behalf of a client application? If so, sure, that sounds good to me!

@MichaelViveros
Copy link
Author

Doesn't Stubbex already support that? I just want to extend it so instead of only supporting server certificate verification for https endpoints it will also support client certificate verification (as part of Mutual TLS). Wiremock supports this - http://wiremock.org/docs/https/, Requiring client certificates

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