GitLab CI/CD unable to locally verify the issuer's authority after certificate update

Hello.

I am using SonarQube version 9.2.0.49834 behind a proxy server. I updated the certificates used for the https connection because they expired.

Accessing the SonarQube web UI from the browser works after the update of the certificates without any issues.

Accessing the SonarQube from my GitLab CI/CD pipeline does not work anymore after the update of the certificates.

If the command

wget -nv https://.../cpp/build-wrapper-linux-x86.zip

is executed within the pipeline, the following error is shown:

ERROR: cannot verify sonar......com's certificate, issued by ‘CN=...O=...,C=...’:
  Unable to locally verify the issuer's authority.
To connect to sonar.......com insecurely, use `--no-check-certificate'.``` 

I updated the certificates via

sudo apt-get update ca-certificate

but it doesn’t solve the issue.

What’s missing for the GitLab CI/CD pipeline? Why is the error shown?

Hi,

Welcome to the community!

Does this seem relevant?

 
Ann

It doesn’t help.

Even on standard Ubuntu the command wget… fails with the same error.