wiremock as dotnet tool no ssl possible #392

Closed
opened 2025-12-29 15:22:37 +01:00 by adam · 2 comments
Owner

Originally created by @dschmittwilken on GitHub (Dec 21, 2021).

From the Wiki I could not find out how to enable SSL when using wiremock as .net tool.

I already tried.

dotnet tool run dotnet-wiremock arguments=" --Port 9091 --UseSSL true --ReadStaticMappings true"
and
dotnet tool run dotnet-wiremock arguments=" --Port 9091 --ssl true --ReadStaticMappings true"

Originally created by @dschmittwilken on GitHub (Dec 21, 2021). From the Wiki I could not find out how to enable SSL when using wiremock as .net tool. I already tried. dotnet tool run dotnet-wiremock arguments=" --Port 9091 --UseSSL true --ReadStaticMappings true" and dotnet tool run dotnet-wiremock arguments=" --Port 9091 --ssl true --ReadStaticMappings true"
adam added the question label 2025-12-29 15:22:37 +01:00
adam closed this issue 2025-12-29 15:22:37 +01:00
Author
Owner

@StefH commented on GitHub (Dec 22, 2021):

Hello @dschmittwilken

The --UseSSL does not exists.

You can just provide the url(s) as https:

dotnet-wiremock --Urls https://localhost:9091 --ReadStaticMappings true

See https://github.com/WireMock-Net/WireMock.Net/wiki/WireMock-commandline-parameters

@StefH commented on GitHub (Dec 22, 2021): Hello @dschmittwilken The `--UseSSL` does not exists. You can just provide the url(s) as https: ``` dotnet-wiremock --Urls https://localhost:9091 --ReadStaticMappings true ``` See https://github.com/WireMock-Net/WireMock.Net/wiki/WireMock-commandline-parameters
Author
Owner

@dschmittwilken commented on GitHub (Dec 28, 2021):

Works like a charm with SSL using dotnet tool run dotnet-wiremock arguments=" --Urls https://localhost:9091 --ReadStaticMappings true, thank you very much!

@dschmittwilken commented on GitHub (Dec 28, 2021): Works like a charm with SSL using `dotnet tool run dotnet-wiremock arguments=" --Urls https://localhost:9091 --ReadStaticMappings true`, thank you very much!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/WireMock.Net-wiremock#392