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

Bitbucket Webhook to Jenkins

sylvestor george June 28, 2018

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
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 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

sylvestor george July 1, 2018

Thanks Edwin

Andres LeonRangel June 14, 2021

this definitely worked for me.

Deleted user August 20, 2021

Getting 500 error while creating webhook on bitbucket inpremise-server

Please help me resolving below issue

webhook-500.PNG

0 votes
Andres LeonRangel June 14, 2021

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
AUG Leaders

Atlassian Community Events