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,556,869
Community Members
 
Community Events
184
Community Groups

Problem with link bamboo and bitbucket

Hi, I have a problem with connection between bitbucket and bamboo.

I've made link application between them and from bitbucket to bamboo connection is green.

But link on the bamboo site to bitbucket shows ssl error:

The remote certificate cant at hash 39 t be trusted

Bitbucket may be using a self-signed SSL certificate or a certificate that was issued by a certificate authority that isn't known locally.

 

I'm using haproxy, I’ve add information about proxy to bitbucket.properties, imported certs chain to cacerts file (but it is only on the bitbucket app). I don’t know what else. Where bamboo has configuration of the tructed cas?

1 answer

0 votes
Daniel Eads
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Apr 19, 2021

Hi @Dariusz Kryszak , welcome to the Community!

It sounds like you may need to import the certificate you're using for Bitbucket into the certificate trust file for Bamboo. This is going to be the default JRE keystore - assuming you're running the Java that comes bundled with Bamboo, you should be able to access the keytool at this path:

$JAVA_HOME/bin/keytool

If you're having trouble determining where the JRE's home path is, you can check the System Information page from Bamboo's administration section for a hint on the full path of the Java it's running under.

 

Once you've got the keytool path, you can import the public certificate for Bitbucket into Bamboo's keystore:

 

<JAVA_HOME>/bin/keytool -import -alias <server_name> -keystore <JAVA_HOME>/jre/lib/security/cacerts -file public.crt

After it's imported, restart Bamboo and the certificate error should be resolved.

Cheers,
Daniel

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events