[ubuntu] OpenLDAP over TLS/SSL

view full story

http://ubuntuforums.org – And so it continues... I am trying to get OpenLDAP configured with TLS (using openssl as opposed to certtool for certificates using own CA). The problem seems to be with not being able to read the files (although I have changed ownership of files to openldap and also given full permissions to everyone in attempts to get this to work). While searching I came accross a post that said to try su - openldap -s /bin/bash -c 'openssl x509 -noout -subject -in /etc/ldap/ssl/newcert.pem' Prior to this command, when I try this command as sudo: sudo -s /bin/bash -c 'openssl x509 -noout -subject (Hardware)