Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,456,819
Community Members
 
Community Events
176
Community Groups

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
edwin Rising Star Jun 28, 2018

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

Atlassian Community Events