Legacy Knowledge Base
Published Sep. 10, 2025

Connection to Analytics Cloud fails due to error unable to find valid certification path to requested target

Written By

Ricardo Couso

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • Analytics Cloud is not getting configured when using an access token.
  • The following error appears in the logs:
    ERROR [default task-26][ExceptionMapper:79] unable to find valid certification path to requested target
    sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
        at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:148) ~[?:?]
        at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:129) ~[?:?]
        at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297) ~[?:?]
        at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:434) ~[?:?]

Environment

  • Analytics Cloud

Resolution

Check the network connectivity between the DXP instance and Analytics Cloud and the certificates in your JRE:

  1. Verify Network Connectivity:
    • Ensure your DXP instance has network connectivity to Analytics Cloud. For detailed instructions on checking connectivity, refer to this article: Connecting Data Sources.
    • If your servers are behind a firewall, ensure all required network traffic for Analytics Cloud is allowed. The necessary URLs can be found in the documentation Connecting Liferay DXP to Analytics Cloud.
  2. Verify Certificates:
    • Make sure your server's JRE contains the required CA root certificates. The server must be able to complete SSL handshakes with all Analytics Cloud endpoints.
    • Update the JRE's cacerts or add the required certificates to your application server's keystore.
Did this article resolve your issue ?

Legacy Knowledge Base