Error: unable to find valid certification path to requested target

Error: unable to find valid certification path to requested target

While trying to record an application using java based protocol (Java or Java over HTTP) the following error message appears:

Java didn’t recognize the LoadRunner’s certificate (acting as server) as trusted.

Follow the below steps to fix this issue

  1. Open recording option dialog.
  2. Go to the Port mapping tab.
  3. Add new entry.
  4. Specify the proxy-server cert and add that same certificate to some custom trustStore and then feed that truststore to java via params (javax.net.ssl.trustStore.javax.net.ssl.trustStorePassword).
READ  Software Testing Artifacts - Detailed Guide

1 thought on “Error: unable to find valid certification path to requested target”

Leave a Comment