Created
February 13, 2020 13:19
-
-
Save jefrnc/c654519338d093d73281d984d71d29df to your computer and use it in GitHub Desktop.
Maven sonar plugin: trust self-signed certificate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.4.0.905:sonar (default-cli) on project data.model: Unable to execute SonarQube: Fail to get bootstrap index from server: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 1] | |
keytool -import -v -trustcacerts -alias mySonarServer -file sonarServer.crt -keystore cacerts | |
#Where cacerts is the one from the JRE installation. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment