08/18/2023, 7:13 AM
Hi, I'm trying to use wiremock to proxy requests to a service that requires mTLS. I tried it, but the service wouldn't accept the certificate. The docs state the following:
If you using WireMock as a proxy onto another system which requires client certificate authentication, you will also need to specify a trust store containing the certificate(s).
To me, this implies that wiremock can provide custom client certs when acting as a proxy, but the following Issue says otherwise:
Currently WireMock can provide certificate when serving the requests, but it cannot do so when acting as a proxy. It cannot provide a certificate to authenticate against the target
So which one is it, or do I understand the docs and the issue wrong? Is it possible to specify a client cert to proxy to an mTLS service or not? Kind regards, patryk

Oleg Nenashev

08/18/2023, 10:17 AM
Hi. I think this guide answers the question;: