Exception:
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target.”
Whenever we are trying to connect with cloud sites or systems, we will face this issue due to a firewall that prevents us from connecting to the systems, due to an invalid certification.
This will take some considerable time when we try to solve it. We have come up with the best suitable solution to solve this exception.
Just go through the steps provided below to solve the issue
- Download the certificate from the target systems you want to connect
- Install the certificate in java certificate path.
- Point to the java version where you have installed the certificate
- Restart the application
- Now your integration will connect to the target systems successfully.
- Download the Certificate from The Site You Want to Connect
- Install the certificate in java cert path.
- Point to the java version where you have installed the certificate
- Go to any point studio, windows tab selects the preferences a popup will appear.
- Then navigate to the java on the left of the popup.
- Under java, you will find Installed JREs
- You will find the available JREs on the left side, make sure it is not pointing to your required java location.
- If not, click on the add button on the right of the pop-up. It will open another popup.
- In that select standardVM as JAR type, and it will open another popup
- In the popup, we will find the option to select the JRE Home directory.
- Complete it and finish it