i've been banging my head against the wall with something that seems to be a simple concept. I have two RHEL 6.5 servers. One will be acting as the OpenLDAP server, and one will be a client authenticating via LDAP. It needs to be over TLS using self signed certificates.
I followed this guide for setting up the server: http://linuxgyd.blogspot.com/2014/07/set-up-openldap-server-on-centos-65.html
I followed this guide for setting up the client: http://www.server-world.info/en/note?os=CentOS_6&p=ldap&f=3
Those were the two guides I stuck to mostly, but have looked through dozens of pages online. I am having no luck at all. When trying to connect my client says that the certificate is not trusted. I found articles saying different things about where to place various cert files but I can't seem to find one concise guide to do what I need to do. I unfortunately do not have much experience with SSL/OpenSSL (but am trying to learn).
As a note, I can't seem to get this to work without TLS either - I seem to recall reading a post online stating that RHEL 6.5 requires TLS for OpenLDAP to work (not sure if that is actually true). I am working in virtual machines so if I need to blow everything away, it is not a problem. Any input/advice will be greatly appreciated!