Sonarqube maven plugin and truststores

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    sonarqube 9.4 maven scanner v
  • what are you trying to achieve
    Scan my maven project with sonarqube
  • what have you tried so far to achieve this
    used the maven command:
    mvn org.sonarsource.scanner.maven:sonar-maven-plugin:<my_sonar-url> -Dsonar.projectKey= -Dsonar.projectName= -Dsonar.login=

However, i keep getting this error: Hostname not verified (no certificates)
I have created a trust store and given that location in the command yet it seems like the trust store is ignored. How can i know which trust store the scanner uses?


Welcome to the community!

Does this seem relevant?

What’s your JDK?


1 Like

Hi Ann. Thanks yes. It was openjdk. When i shifted to Oracle jdk, it worked fine.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.