Certificate issue with Gitlab

Hi,
I’m trying to connect SonarQube with our Gitlab but I have a certificate issue.
I have the same issue as described here:

So the error is:

PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

I’m running SonarQube with Docker (docker-compose), using the lts-community tag for the image.
Our Gitlab is self-hosted, with a valid certificate.
I tried the steps indicated here: Sonarqube delegate authtication to Gitlab fail - Stack Overflow to add the certificate to the keystore, but I still have the issue…
Our Gitlab certificate is a wildcard certificate, and I saw @pierreguillot’s answer on the topic shared above saying that wildcards are not supported.
So I guess that’s the reason of the issue, but is there a workaround or another solution for us?

Thanks a lot.

After many different attempts, I managed to fix my issue.
It was, I think, a combinaison of properly getting the certificate and adding it to the keystore, with also a volume issue with docker-compose.

So this topic can be closed.
Thanks.

2 posts were merged into an existing topic: SSL issue connecting to SonarQube