Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bitbucket Webhook to Jenkins

I am trying to configure Webhook on a Bitbucket repository to trigger a Jenkins Job with the following Url.

Url: JENKINS_URL/bitbucket-hook/

 

On testing the connection, I am getting following error:

"javax.net.ssl.SSLHandshakeException: General SSLEngine problem"

 

Do I need to add some permissions either at the Jenkins or Bitbucket level?

 

Screen Shot 2018-06-28 at 1.23.17 PM.pngThanks,

Sylvestor

2 answers

1 accepted

0 votes
Answer accepted

Hi @sylvestor george,

This error means the applications aren't able to communicate over SSL. Follow the documentation to import the certificates in the JVM's that are running the applications.

Bitbucket's cert in Jenkins and vice versa.

How to import a public SSL certificate into a JVM

this definitely worked for me.

Getting 500 error while creating webhook on bitbucket inpremise-server

Please help me resolving below issue

webhook-500.PNG

Keep in mind that you need to run the commands to import the certificate to the JKS as the root user. 

If you run bitbucket as a docker container do the following

 

docker exec -it --user root bitbucket bash
# import certificate to JKS
# Accept

 

docker restart bitbucket

Suggest an answer

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

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

168 views 2 4
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