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.