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

USER in LDAP proble with ssl certificate

I  try to configure LDAP User Directory in  Bitbucket 6.6.1

For Novell eDirectory

I have problem in test with certificate

nested exception is javax.naming.CommunicationException: idm:636 [Root exception is javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target]

I try to  add my certificate which is used in idm to java trast store with command:

keytool -import -noprompt -trustcacerts -alias idm01p-ca -file idm-ca.pem -keystore /usr/lib64/jvm/jre-11-openjdk/lib/security/cacerts -storepass changeit
keytool -list -keystore /usr/lib64/jvm/jre-11-openjdk/lib/security/cacerts -storepass changeit | grep idm-ca

idm-ca  is visible there

I add into /var/atlassian/application-data/bitbucket/shared/bitbucket.properties

line

server.ssl.key-store-type=pkcs12

and restart bitbucket server:

service atlbitbucket stop
service atlbitbucket start

 

But this one does not help me error is still the same.

What I do wrong?

It is wrong traststore where I add key? I use default in JAVAHOME. Or did I use wrong alias in import certificate?

Thank You for any hint how to solve this problem.

 

 

 

 

0 answers

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,892 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