Hi Team, I have a Wiremock running in local and I ...
# general
d
Hi Team, I have a Wiremock running in local and I want to use Wiremock as a Proxyt which will record all the request/response that goes through it. I run this command java -jar wiremock-standalone-3.5.4.jar --verbose --port 9090 --enable-browser-proxying --trust-all-proxy-targets to make Wiremock doesn't need specific targetbase url and also the actual target service endpoint is https so I use --trust-all-proxy-targets. But when I start the server and execute the client proxy , I end up with the below error. I have been struggling with this issue for last few days. Please help . Exception in thread "main" javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target Note : I use http://localhost:9090 as a proxy and call https://endpoint through wirmock