I am running Gitlab CI integration (sonar-scanner-cli), getting this error -
10:35:41.875 ERROR: SonarQube server [https://sonarqube.dc-infra.***.local] can not be reached . . . . . . .
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Sonarqube Community EditionVersion 10.1 (build 73491) deployed on on-prem kubernetes. Gitlab CI image name: sonarsource/sonar-scanner-cli:latest. Gitlab is self hosted (&self signed) I tried adding the relevant .pem/.crt file from the browser and mount them in to /tmp/cacerts. Also tried converting it to base64 and adding it as a secret to the sonarqube namespace on the cluster.