I installed Centos7 on my new brand server. I use LDAP as authentication. I deployed my certificate on all server and LDAPS is working with RHEL5, Debian or SOLARIS
On Centos7, I 've got problem with sssd That I didn't know before this install. The LDAP is working and I can do su - $user well. When I upgraded in LDAPS, I Lost this authentication. On my LDAP server I've got this error:
[30/oct./2014:16:32:05 +0100] DISCONNECT conn=735741 reason="Protocol Error" msg="The client sent a request to Directory Server which did not decode well as LDAP message : javax.net.ssl.SSLException: Received fatal alert: bad_certificate"
Why the the same certificate works on the other server and not on this one
Thanks for answer.
Thanks BillThor,
But the system seems do that for me as the the symbolic link with the hash return has been created. By the way I modified this line in the ldap.conf
TLS_CACERT /etc/openldap/cacerts/xxxxxx.0
I tested it with the ldapsearch -x -d3
command and I've got this error messages :
attempting to connect:
connect success
TLS: loaded CA certificate file /etc/openldap/cacerts/xxxxxx.0.
tls_write: want=157, written=157
.../...
certificate is not valid - error -8016:The certificate was signed using a signature algorithm that is disabled because it is not secure
TLS: error: connect - force handshake failure: errno 0 - moznss error -8157
TLS: can't connect: TLS error -8157:Certificate extension not found..
ldap_err2string
That's strange because all my server accept this CA but not the new one under CENTOS7 Any idea where is coming from ?