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).
Advertisements

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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s