https://linen.dev logo
#help
Title
# help
s

sameena syed

01/04/2024, 10:54 AM
Hi, I want to use wiremock.net in recordandproxy mode for https requests, can someone tell me what i should do for that.. i just tried doing dotnet dev-certs https --trust and then my wiremocksettings to have as below, but still i dont see its saving the mapping files? do i need to generate self signed certificate explicitly ?
Copy code
UseSSL = true,
AcceptAnyClientCertificate = true,
CertificateSettings = new WireMockCertificateSettings()
{
    X509StoreName = "My",
    X509StoreLocation = "CurrentUser",
    X509StoreThumbprintOrSubjectName = null
}
1
b

Bas Dijkstra

01/04/2024, 12:13 PM
Tagging @Stef Heyenrath
s

sameena syed

01/04/2024, 2:35 PM
Thankyou its sorted by just giving the client certificate in proxyandrecord setting 😊
👍 1
s

Stef Heyenrath

01/04/2024, 6:45 PM
@sameena syed Next time, post a question about WireMock .NET here: https://wiremock-community.slack.com/archives/C059E0MBM29
👍 1