PDA

View Full Version : [ubuntu] OpenLDAP with SSL



tuananh1973
October 23rd, 2008, 05:15 AM
Hello,

I tried to configure openldap server with ssl on Ubuntu 8.04. I created a server certificate (self-sign), configured slapd.conf as follow.

TLSCACertificateFile server.pem
TLSCertificateFile server.pem
TLSCertificateKeyFile server.pem

I restarted slapd then tried

openssl s_client -connect localhost:636 -showcerts

it told me that

connect: Connection refused
connect:errno=29

I also tried with Centos, it just works just fine.

Please help,
Tuan Anh

flyonthewall
April 27th, 2009, 01:29 PM
Basically this means your slapd server isn't running on the port you specified. Does it give any output when you try to start the service?
(You start it by running /etc/init.d/slapd start)

Personally my slapd won't start.
I get the following error message:


main: TLS init def ctx failed: -64