Today I got an error when running a Java application on a new CentOS server:
1 | SunCertPathBuilderException: unable to find valid certification path to requested target |
Here is the solution.
Download the “InstallCert.java” file from here.
Run it as below:
1 | # Compile. |