mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 21:10:32 +01:00
[PR #32] [MERGED] [Feature] Add support for client certificate password and test with real services that require client certificate auth #739
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?
📋 Pull Request Information
Original PR: https://github.com/wiremock/WireMock.Net/pull/32
Author: @phillee007
Created: 6/10/2017
Status: ✅ Merged
Merged: 6/16/2017
Merged by: @StefH
Base:
master← Head:master📝 Commits (10+)
98eed7fAdd support for client certificate password and test with some real services that require client certificates. Also update so when proxying, the path and query will be passed to the proxied api.3c26f44Add correct paramf3a11faUpdate to read certificate from store instead of file4d9e928Merge branch 'master' of https://github.com/StefH/WireMock.Net3358e8eAdd support for client certificate password and test with some real services that require client certificates. Also update so when proxying, the path and query will be passed to the proxied api.70668b2Add correct param7dc46a1Merge branch 'master' of https://github.com/phillee007/WireMock.Net699156aFixup PR issues753522fMerge branch 'master' of https://github.com/phillee007/WireMock.Net1094af7Add support for client certificate password and test with some real services that require client certificates. Also update so when proxying, the path and query will be passed to the proxied api.📊 Changes
11 files changed (+148 additions, -46 deletions)
View changed files
📝
examples/WireMock.Net.Console.Record.NETCoreApp/Program.cs(+2 -1)📝
examples/WireMock.Net.ConsoleApplication/MainApp.cs(+13 -7)📝
src/WireMock.Net.StandAlone/StandAloneApp.cs(+3 -3)📝
src/WireMock.Net/Admin/Mappings/ResponseModel.cs(+5 -0)➕
src/WireMock.Net/Http/CertificateUtil.cs(+44 -0)📝
src/WireMock.Net/Http/HttpClientHelper.cs(+35 -19)📝
src/WireMock.Net/ResponseBuilders/IProxyResponseBuilder.cs(+2 -2)📝
src/WireMock.Net/ResponseBuilders/Response.cs(+11 -8)📝
src/WireMock.Net/Server/FluentMockServer.Admin.cs(+13 -3)📝
src/WireMock.Net/Settings/ProxyAndRecordSettings.cs(+2 -2)📝
test/WireMock.Net.Tests/FluentMockServerTests.cs(+18 -1)📄 Description
Add support for client certificate password and test with real services that require client certificates. Also update so when proxying, the path and query will be passed to the proxied api.
Please have a look and let me know what you think. I ran a test for it locally, but it's a bit hard to checkin a runnable unit test as it would require a real service (which I have in my environment) plus a valid pfx with password
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.