mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 14:20:29 +01:00
Add client certificate authentication #19
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @phillee007 on GitHub (Feb 3, 2017).
Originally assigned to: @StefH on GitHub.
Is it possible to add this functionality as well? :-)
@StefH commented on GitHub (Feb 3, 2017):
I don't know if this is easy. Let me think about this.
@phillee007 commented on GitHub (Feb 3, 2017):
No problem. We have a number of calls to services that require client certs
for auth, so I figured the stub service might need the same. l I guess we
could turn it off when talking to stub endpoints though?
On 3/02/2017 8:15 PM, "Stef Heyenrath" notifications@github.com wrote:
@phillee007 commented on GitHub (Jun 10, 2017):
Have had a look & I'm not sure it's modelled quite right. Each request mapping gets its own settings for proxy url/cert filename (plus also needs password if specified), so there would be no need to specify them in the mock server general settings (or as command-line args) as they wouldn't be used.
I've cloned the repo & will try it out locally over the next week or so to see what i can do.
UPDATE:
Actually I can see the reason why there are both, but was confused at first.
ProxyAndRecordSettings are used for record and playback right? Much like the --proxy-all setting described on http://wiremock.org/docs/record-playback/. I.e. proxy ALL requests to a single host
The individual response proxy settings are used for proxying specific responses, as described on http://wiremock.org/docs/proxying/
I've made a few changes to get it working both ways, and will submit a PR within the next week or so
@billybraga commented on GitHub (Dec 8, 2022):
Was this ever done?
@StefH commented on GitHub (Dec 8, 2022):
Sorry.
No this is not implemented.