I am using SonarQube version 220.127.116.11834 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?