Files
WireMock.Net/test/WireMock.Net.Tests
Mindaugas Laganeckas 7b8e7bb684 Implement prefix for saved mapping file (#1040)
* Implement PrefixForSavedMappingFile

* Add missing new line

* Add missing new line

* Fix warning

* Fix typo

* Change from readonly to const

* Assign default value

* Use nameof()

* Change from readonly to const

* Update tests

* Update failing test

* Rename settingsMock to settings

* Create public const

* Use const from ProxyAndRecordSettings

---------

Co-authored-by: Mindaugas Laganeckas <mindaugas.laganeckas@nexigroup.com>
2023-12-14 08:28:21 +01:00
..
2023-06-13 19:31:04 +02:00
2023-12-04 18:05:18 +01:00
2023-12-04 18:05:18 +01:00

Creating a client certificate like client_cert.pfx

Follow the instructions to create a root certificate, then trust it and create a child certificate from it.

Since the root certificate of client_cert.pfx is obviously not trusted automatically by cloning this repo, the tests in WireMockServerTests.ClientCertificate.cs set WireMockServerSettings.AcceptAnyClientCertificate to true so that tests pass even if the device hasn't trusted the root of client_cert.pfx.