Dear SQ community,
I am using Sonarqube:
- deployed with
docker-compose
- version v10.7
- on-premise
- together with GitLab Enterprise Edition [v17.5.1-ee]
I am trying to set up the Gitlab integration with sonarqube so I can use SQ in my Gitlab-CI pipelines. So far, that has been unsuccesful.
Both my gitlab and my sonarqube instance are behind reverse proxies outfitted with SSL certificates from a private CA. After setting up the URL:
https://gitlab.brave-vesperia.com/api/v4
the Sonarqube docker container reports:
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(Unknown Source)
at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown Source)
at java.base/java.security.cert.CertPathBuilder.build(Unknown Source)
... 199 common frames omitted
After doing some research, I think I’m supposed to import some certificates into the trusted store of SQ by using certtool. However, so far I don’t know how to achieve that and furthermore, I’m very unsure which certificate I’m supposed to import in the first place (shouldn’t the CA cert not be enough?)
Please kindly assist. There are some guides out there on the internet, but I either don’t understand them well enough or they are not applicable to my issues.
KR