I am not familiar with certificates and openldap . I am trying to move someone from elses from an older OS to CentOS-6 using openldap-2.4.23 . On the old OS, the ldap connection worked without problems. Now in CentOS-6 I get the following error when doing a simple bind:
TLS error -8179:Peer Certificate issuer is not recognized .
My /etc/openldap/ldap.conf has one line:
TLS_CACERTDIR /etc/openldap/certs
I tried to comment on this line and put the following into the file, but this did not change the error message I received.
tls_reqcert allow
I also tried to put only the following line in ldap.conf , but that did not change the error. I tried this based on the information found in this question .
LDAPTLS_CACERT /etc/ssl/certs/ca-bundle.crt
I copied the files to the following directories:
/etc/pki/tls/certs/ca.crt /etc/pki/tls/certs/server.crt /etc/pki/tls/private/server.key
I have no choice but to use openldap-2.4.23 . Any idea what causes this error or what can I do to troubleshoot?
Thanks in advance. SP
source share