mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-03-18 15:34:42 +01:00
Updated Using HTTPS (SSL) (markdown)
@@ -5,12 +5,15 @@ var server1 = WireMockServer.Start(port: 8443, ssl: true);
|
||||
|
||||
// or like this
|
||||
|
||||
var server2 = WireMockServer.Start(new FluentMockServerSettings
|
||||
var server2 = WireMockServer.Start(new WireMockServerSettings
|
||||
{
|
||||
Urls = new[] { "http://localhost:9091", "https://localhost:9443" }
|
||||
});
|
||||
```
|
||||
|
||||
## HTTPS and certificates
|
||||
See [WIKI : Settings - Certificate Settings](https://github.com/WireMock-Net/WireMock.Net/wiki/Settings#certificatesettings).
|
||||
|
||||
## Windows
|
||||
### .NET Standard / .NET Core
|
||||
In case you don't have a self-signed certificate yet, run the following command:
|
||||
|
||||
Reference in New Issue
Block a user