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
- Open recording option dialog.
- Go to the Port mapping tab.
- Add new entry.
- 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).