[Date Prev][Date Next]
Forcing TLS encryption
I'm trying to get slapd to reject non-encrypted connections, but nowhere can I find how you configure it to *only* accept TLS traffic. I just confirmed that our server accepts unencrypted traffic (with ldapsearch and tcpdump). Normally, I would just close the non-SSL port with IP tables, but using the SSL port is deprecated, apparently, so I don't have that option.
So, with the cn=config SSL configuration commands, like this:
Is there a param for forcing TLS? I tried:
but it doesn't work; the server doesn't start. Debug output:
TLS: could not set cipher list TLSv1+RSA:!NULL.
main: TLS init def ctx failed: -1
slapd destroy: freeing system resources.
connections_destroy: nothing to destroy.
Nor does "olcTLSCipherSuite: HIGH" work.
I looked in the openldap source code, but even there, I can't find how to do it.
Ubuntu: Ubuntu 10.04.4 LTS