Skip to Main Content

Security Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ldapsearch SSL and Directory Server

807573Nov 11 2005 — edited Aug 10 2009
Hi, I installed the latest SUNOne Dir server on a windows xp client. I have the 5.08 LDAP C SDSK on a windows XP client. I went through these steps to get the certificates all done. I think I did it correctly. http://docs.sun.com/source/816-6698-10/ssl.html#14489
I can use ldapsearch just fine, but not over ssl. Here is a sample of my command and result.

D:\Installs\API\ldapcsdk5.08-WINNT4.0_OPT.OBJ\tools>ldapsearch.exe -b "uid=ceh_a
ddress_restriction,ou=people,dc=sentillioninc,dc=net" -h 172.20.96.109 -p 34636
-D "uid=ceh_address_restriction,ou=people,dc=sentillioninc,dc=net" -w ceh -Z -P
d:\SunOneDirectory\certs\key3.db "(objectClass=*)" uid
ldap_simple_bind: Can't contact LDAP server
SSL error -5938 (Encountered end of file.)

I can telnet to that port and connect just fine, but I can't figure out how to get the ssl working correctly.

I'm also curious, it seems this api has not been updated since 2002. Is there any reason why there is nothing newer? I find it hard to believe that it is without bugs.


Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 7 2009
Added on Nov 11 2005
22 comments
2,084 views