Unable to build inhouse plug-in because of the error: Could not transfer artifact com.atlassian.jira:jira-api:pom:7.13.2 from/to atlassian-public (https://maven.atlassian.com/repository/public)

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

This is a common SSL error. Are you on a corporate network? I suspect your company is cert pinning – Your local JAVA Keystore does NOT trust the certificate.

You either need to add your companies certificate chain to your JAVA Keystore or you need to work out a proxy that does not get pinned.

3 Likes