Using developer edition SonarQube 9.5 (build56709) and Sonarscanner for msbuild 5.7.0. I have installed a wildcard certificate which belongs to our company with root CA being certum. I have installed the certificates on the %JAVA_HOME%/lib/security/cacerts files successfully using following command:
I tried the sslpoke SSLPoke from this site and it works fine
with successfully connected message.
I tried adding SONAR_SCANNER_OPTS to the prestart of scan and sonarscanner still fails to authenticate.
set SONAR_SCANNER_OPTS=-Djavax.net.ssl.trustStore="C:\Program Files\Eclipse Adoptium\jdk-11.0.15.10-hotspot\lib\security\cacerts" -Djavax.net.ssl.trustStorePassword="changeit"
Additional Info: Sonarqube is hosted on a VM and HTTPS is being done by IIS reverse proxy on the same VM. The https url works fine while trying to use from browsers. The scanner is being run on the same VM as well.
It’s not clear from the screenshot (and please, share text-based logs instead of screenshots) what the actual error you’re receiving in the end is. So far, it looks like you just receive some DEBUG/Warning messages.