Hi, I was able to record gRPC traffic without mTLS. Now I have questions regards recording with mTLS. Can we use wiremock to record gRPC with mTLS? I tried to use
https-keystore
,
keystore-password
,
https-truststore
and
trustore-password
, but it doesn't seem to record anything. Thank you!
t
Tom
07/03/2025, 8:34 AM
You can make WireMock require a client certificate, so you can do the client -> WireMock part, but at the moment the WireMock proxy client isn’t set up to authenticate via TLS so without providing a custom client you can’t do this part.
l
Linh Cao
07/03/2025, 2:23 PM
To reiterate what you said, does it mean client --> wiremock is ✅ , but between wiremock --> server is ❌ because it isn't set up to send client certificates.
t
Tom
07/04/2025, 8:41 AM
Correct, the proxy client that WireMock uses to connect to the target can’t send a client cert at the moment.