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

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

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

 

 

2020-01-11_0-10-24.png

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

2020-01-14_15-06-33.png

 

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 "javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed"

Max Malygin Community Leader Jan 19, 2020

Hello!

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 (-Djavax.net.ssl.trustStore). 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.

2020-01-20_15-45-46.png

Max Malygin Community Leader Jan 21, 2020

Hi!

Perhaps this is not enough. It is required to check whether the keys (javax.net.ssl.trustStore) 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
TAGS
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,826 views 0 7
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