function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Nick MortensenNick Mortensen 

Unable to find valid certification path to requested target.

I am trying to make a call to an external server and getting a  The certificate issuer, RapidSSL is not on the list of trusted issuers, but GeoTrust Global CA is... Since RapidSSL received their certs from GeoTrust is there anyway to get around this other than just going HTTP?

User-added image
Hi Nick, 

This simply means that the web server or the URL you are connecting to does not have a valid certificate from an authorized CA. But however, being a programmer you would want to find out the alternative way to solve this issue.
What you need to do is to import the server certificate and install it in your JDK's keystore.

Just follow these steps and you will be able to get rid of that error.
1. First of all you copy the URL that you are connecting to and paste it in your browser. Let us say you are using IE. Just paste the url in the address bar and press enter.
2. You will now probably see a dialog box warning you about the certificate. Now click on the 'View Certificate' and install the certificate. Ignore any warning messages.
3. Now that the server certificate is installed in your computer, your browser will not warn you when you visit the same site again