Sonar webhook fails with bitbucket certification

Hi All
I’m using sonar and bitbucket integration plugin: Include Code Quality for Bitbucket

I configured the webhook in sonar, but it’s red and I see this error in the sonar log:

Failed to send webhook ‘ch.mibex.bitbucket.sonar’ | url=https://{bitbucket_server}/rest/sonar4stash/1.0/webhook/secret | message=unable to find valid certification path to requested target

The company troubleshoot refers to 5 years old post:

I’m wondering if it should be handled differently since 5 years is a long time, and also my sonar version is much advanced: Enterprise Edition v10.6 (92116)

Hey there.

The JVM running your SonarQube server will need to have the right certs to validate the connection to your Bitbucket server. You can read more about this here.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.