Error: PKIX path building failed

Hi Community,

I am getting the following error while trying to read from PDF file.

Reason:
org.codehaus.groovy.runtime.InvokerInvocationException: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

I have gone through the solutions available in Stackoverflow. By looking at the solution, it looked like the certificates were not installed. But I have checked and it is installed and still showing this error message. Can anyone please help me on this.