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

TLS negotiation failure after disabling TLS #42

Closed
ChocolateFactory28 opened this issue Mar 29, 2016 · 1 comment
Closed

TLS negotiation failure after disabling TLS #42

ChocolateFactory28 opened this issue Mar 29, 2016 · 1 comment

Comments

@ChocolateFactory28
Copy link

I am trying to connect an application with the ldap server based on image oxisia/docker-openldap 1.1.2 . My application uses SSL 3.0, and the ldap server is TLS. So it was giving me TLS Issue: Could not negotiate a supported cipher suite. However, I disabled the TLS with the steps you mentioned in #17
But now when I run my application with the server, it complains (TLS negotiation failure).

logs.txt

Kindly help

@osixia
Copy link
Collaborator

osixia commented Apr 4, 2016

Hi,
the container was started without -h option that set the container hostname, so your certificates have been generated with the random container hostname set by docker here : 9b6600e483c6

When you use TLS the client check the server hostname (CN) in the certificate so if you try to connect to ldap.example.org and the ldap server certificat CN is set to 9b6600e483c6 the TLS negociation failed.

@osixia osixia closed this as completed Apr 4, 2016
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

1 participant