Closed steep8 closed 1 month ago
Hi
I was able to reproduce your issue. So far I think that the problem is not with the server. Because I used jExplorer and i was able to connect and search for information from the server. I guess that problem was with certificates. We should define CA as localhost and then it works.
So the client should have only generated the certificate from the server's key pair stored in the JKS keystore. That is it. It is so simple, that it is hard to get it :D
btw. Djavax.net.debug=all gives me only bad clues...
So far I think that the problem is not with the server.
Right
I guess that problem was with certificates. We should define CA as localhost and then it works.
Thanks. I regenerated certificates and ldaps works ok after it. The problem was in certificates.
Tried to run ldaps on Ubuntu but it does not work, ldap - ok.
Environment: oc: Ubuntu 22.04.1 OS name: "linux", version: "6.5.0-28-generic", arch: "amd64", family: "unix" ldap-server version: v.1.0.0 openjdk 11.0.22 Apache Maven 3.6.3
Steps:
Expected result: some data from ldap request
Actual Result: ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
Attached you can find ldap server log:
HANDSHAKE_FAILURE.txt