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

Upgraded to Bitbucket 6.9, no longer able to login using Active Directory credentials

Not sure how to fix this issue. Someone, please help! :(




1 answer

0 votes
Max Malygin Community Leader Jan 12, 2020

What was the previous version?

Are you using the built-in database for authorization or an external directory?

Hi Max, I am taking over bitbucket managing from a previous employee. So to answer your question, I am unsure. But when I login I see there is an active directory connector. 

i am upgrading from bitbucket 5.14. After the upgrade I can only login using a local account. But using my active directory login no longer works. And I can’t figure out how to fix this issue. 

Max Malygin Community Leader Jan 13, 2020

1. With 'Admin' permission check your auth directories - in Bitbucket Server administration area, click User Directories (under Accounts).

2. And check Manage apps under Add-ons - after the upgrade, some of them could become inoperative. 

@Max MalyginThis is what we have under User Directories



No apps under Manager Apps.

Max Malygin Community Leader Jan 16, 2020

At first glance, everything is fine.

But since authorization does not work, it seems that a more in-depth study of the settings and operation of the instance is required. Please check the Troubleshooting and support tools in Bitbucket Server administration area - Log analyzer can help determine the cause.

@Max MalyginWhen I click on the Active Directory TEST feature. It give this error " PKIX path building failed"

Max Malygin Community Leader Jan 19, 2020


There is an article on this subject - Unable to connect to SSL services due to "PKIX Path Building Failed" error.

There are two assumptions about the source of the problem:

  1. After the upgrade, Bitbucket started using the new version of Java and the cacerts file now does not contain the Certificate Authority certificate from Active Directory. You can replace file cacerts with an old version or add a certificate to a new file.
  2. It is also possible that in the startup parameters of the old version of Bitbucket there was a key pointing to the custom version of the cacerts file ( Then you can transfer this key.

Our Bitbucket 5.14 has Java version 1.8.0_211.b12 version.

Maybe we will try to upgrade to 6.9 again and try just upgrading Java???

@Max MalyginAfter upgrading to 6.9 would I just be able to copy + paste these files into the new upgraded located? The image below is from our Bitbucket 5.14 version.


Max Malygin Community Leader Jan 21, 2020


Perhaps this is not enough. It is required to check whether the keys ( for using these files were saved in the new version. If they are missing, then you will need to transfer them from the old version.

Another option is also possible. Required certificates could be added to the Java repository - $JAVA_HOME/lib/security/cacerts. Then you should add certificates to the new Java repository or copy the cacerts file from the old to the new Java.

Suggest an answer

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

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,890 views 10 16
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