Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

USER in LDAP proble with ssl certificate

Jiří Frankl
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 10, 2019

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

Atlassian Community Events