Colin
(Colin)
April 14, 2025, 8:35am
2
Hey there Timothy.
Sounds like the cert is the issue. You’ll need to make sure that the Java distribution running your SonarQube instance trusts the cert installed on your (I assume self-hosted?) GitHub instance.
This post might help you, along with these docs .
Hey there.
You’ll need to mount a directory containing your certificates to <JAVA_HOME>/lib/security/cacerts as documented here .
The root certificate should be enough, although frankly, I have always found it easiest to just pull the cert from the website you’re targeting.
For example, with SonarCloud (here you would substitute your internal Gitlab server)
1. Pull the cert chain
openssl s_client -connect sonarcloud.io:443 -servername sonarcloud.io -showcerts </dev/null | sed -ne '/-BEGIN C…