Error "PKIX path building failed"

Problem

Error "PKIX path building failed" can happen in either Sonar for Bitbucket or Sonar for Bamboo

Possible Causes:

  • SSL certificate for SonarQube is not in JVM of either Bitbucket or Bamboo

  • JVM versions < 1.8.0_151 not properly recognizing the certificate authority

  • Using a self-signed certificate

Otherwise, please follow the advice on https://confluence.atlassian.com/kb/unable-to-connect-to-ssl-services-due-to-pkix-path-building-failed-779355358.html

Related articles

SONAR™, SONARQUBE™ and SONARCLOUD™ are independent and trademarked products and services of SonarSource SA: see sonarsource.com, sonarqube.org, sonarcloud.io.