Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LDAPS not working #19

Open
cahi opened this issue Feb 19, 2016 · 2 comments
Open

LDAPS not working #19

cahi opened this issue Feb 19, 2016 · 2 comments

Comments

@cahi
Copy link

cahi commented Feb 19, 2016

First I have configured the server to work without LDAPS, which works fine.
When I am setting up the server to use a signed certificate and LDAPS I am getting an error:

[14:41:32] WARN [org.apache.directory.server.ldap.LdapProtocolHandler] - Unexpected exception forcing session to close: sending disconnect notice to client.
javax.net.ssl.SSLHandshakeException: SSL handshake failed.
...
Caused by: javax.net.ssl.SSLHandshakeException: no cipher suites in common

This also happens when I use the testAuthSSL.sh.
Maybe you have a hint what I am doing wrong?
thanks
Carsten

@cahi
Copy link
Author

cahi commented Feb 19, 2016

I imported my cert like this:
keytool -import -v -trustcacerts -alias clientkey -file /etc/ssl/certs/my.crt -keystore /opt/atlassian/ldap/etc/cacerts.jks -keypass p@ssw0rd -storepass p@ssw0rd

config is:
#LDAPS
ssl.enabled=true
ssl.keystore=/opt/atlassian/ldap/etc/cacerts.jks
ssl.certificate.password=p@ssw0rd

@dwimberger
Copy link
Owner

http://docs.oracle.com/javase/7/docs/technotes/guides/security/jsse/ReadDebug.html

javax.net.ssl.SSLHandshakeException: no cipher suites in common

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants