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