Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,300,911
Community Members
 
Community Events
165
Community Groups

"sonarqube-quality-gate" pipe fails with ssl error

When using

pipe: sonarsource/sonarqube-quality-gate:1.0.0

in the Bitbucket pipeline script, the step fails due to:

Status: Downloaded newer image for sonarsource/sonarqube-quality-gate:1.0.0
curl: (60) SSL certificate problem: certificate has expired
More details here: https://curl.haxx.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.

1 answer

0 votes
Syahrul Atlassian Team Nov 14, 2021

Hi @gi_cpp_bitbucket 

Looking at the error logs, it looks like the pipe is using an outdated certificate that has been expired.

I have tested this on my end and unable to reproduce it so can you confirm with me does your latest build still failing with the same certificate error?

I look forward to hearing from you.

Cheers,
Syahrul

Yes, issue still occurring even with latest pipeline images like

image: node:14.18.1
or
image: atlassian/default-image:3

There's something wrong with the cert chain config in the image (sonarsource/sonarqube-quality-gate:1.0.0) - probably out of date?

Sonarqube-quality-gate is trying curl to a website that has a letsencrypt cert with "ISRG Root X1" as the root and fails.

The curl command is constructed in "check-quality-gate.sh" on line 30 (https://bitbucket.org/sonarsource/sonarqube-quality-gate/src/master/pipe/check-quality-gate.sh)

Syahrul Atlassian Team Nov 15, 2021

Hi @gi_cpp_bitbucket

Noted, since this requires further investigation I have proceeded to raise a support ticket on behalf of you so we can continue the investigation.

You should receive an email with the ticket link and one of our support engineers should get back to you soon.

Cheers,
Syahrul

@Syahrul Hello, I also have this issue, can this be fixed soon? I think the problem is in the docker image you are using. I think a new update is available on the repo but the docker image is not build. 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,263 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you