Bitbucket SSLHandshakeException on connection to Jenkins server

Using Bitbucket 5.4.0.  I'm trying to configure a webhook to a Jenkins server that is running SSL on port 443.  The webhook fails with this error: General SSLEngine problem

After turning on debug level logging I can clearly see it's because the certificate is not trusted.  I have already imported the Jenkins server's cert into the Bitbucket keystore and trusted it.  I have also installed and trusted the intermediate and root CA certificates.  I even went so far as to test the java keystore to verify all the certs were properly installed (in the proper order) in the Bitbucket keystore.  I tested using the SSLPoke utility.  Everything passes.  This should work.


The file references the location of the java keystore.  The password to the keystore is correct.  I'm at a loss as to why Bitbucket does not trust the cert.  Bitbucket is either not using the keystore as configured or there really is a problem with the keystore.  Is there some other utility I can use to verify the keystore?  Is there a way to verify Bitbucket is using the configured keystore?

1 answer

0 votes

Hi Andy,


Thanks for reaching out! Though I don't have your debug logs to be sure, this may be an issue with the password setting.

If you're sure the keystore path is correct, please ensure both the key-password and the key-store-password are set. These are required to be the same value in order to access the key.

In addition, be sure the key-alias and key-store-type are correct as well.




Hi friends,

   I'm also facing same problem like " General SSLEngine problem" in webhook bitbucket.

Webhooks   Bitbucket.png

I don't know how to import certificate ? and how to do ssl related config. 

Any one suggest how to do for certificate configuration for step by step process

Please suggest me.



Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

675 views 0 4
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot