Error on installing ui.apps through Azure- PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Recently, Adobe has performed the RHEL8 upgrade on all of our AEM Servers. After the upgrade, our Azure pipelines started failing when deploying the code to both dev and stage environment. The error is as following
[ERROR] Failed to execute goal com.day.jcr.vault:content-package-maven-plugin:1.0.2:install (dev-author-deploy) on project wknd-com2.ui.apps: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 1]
Adobe tried re-installing the certs and re-installed the Java, but no luck and adobe was asking us to use the Adobe Cloud Manager for the deployments but we have a few dependencies with Azure that we can't go immediately to cloud manager for deploying to lower environments. I would appreciate any help on this.