Hi, I was able to record gRPC traffic without mTLS...
# help
l
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
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
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
Correct, the proxy client that WireMock uses to connect to the target can’t send a client cert at the moment.
1