We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

When downloading the aspose library via Gradle, I get the above exception. This is true for both the most recent version 19.1 and the older version 18.9:jdk16.

This used to work a few weeks ago. Could you maybe look into the certificates on your repository server? (found a similar issue from May 2018)


We are working on your query and will get back to you soon.


Thanks for your patience. We have tested this scenario using the Android Studio and have not found the shared issue. Please ZIP and share sample project here for our testing. Also, please provide the following information:

  • List complete steps that we can follow to reproduce the exact issue on our end.
  • Provide your system configuration.

As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information.

Thanks for your cooperation.