Updated Using HTTPS (SSL) (markdown)

Stef Heyenrath
2022-06-09 21:40:45 +02:00
parent 18b0acdfc5
commit 09115b47a3

@@ -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: