Karthi
Karthi

Reputation: 3

Enable SSL in Apache Directory server

I have apache Directory server in Ubuntu.. I ma able to use

ldapwhoami -vvv -H ldap://localhost:10389 -D uid=admin,dc=example,dc=com -x -w <password> its success.

but when i tried :

ldapwhoami -vvv -H ldaps://localhost:10636 -D uid=admin,dc=example,dc=com -x -w <password> Its giving below error:

ldap_initialize( ldaps://localhost:10389/??base )
ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)

My config.ldif SSL is enabled :

dn: ads-transportid=ldaps,ou=transports,ads-serverId=ldapServer,ou=servers,ads-directoryServiceId=default,ou=config
ads-systemport: 10636
ads-transportenablessl: TRUE
ads-transportaddress: 0.0.0.0
ads-transportid: ldaps
objectclass: ads-transport
objectclass: ads-tcpTransport
objectClass: ads-base
objectclass: top
ads-enabled: TRUE

Any thing missing?

Upvotes: 0

Views: 12

Answers (0)

Related Questions