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!

SSL initialization failed: error -8174 (security library: bad database.)

807573Aug 12 2008 — edited May 8 2009

I am runnig "Sun Java(TM) System Directory Server/5.2_Patch_6 B2007.221.1746".

I want to enable SSL on my directory server and I created a self signed certificate from "certutil" comes with directory server "/<serverroot>/shared/bin/certutil", and installed it without no errors. (No any errors/warnings when directory server restarts).

But I have no luck with ldapsearch over LDAPS port. I found few more similar threads in the same forum, but still not managed to resolve). Command syntax and error I get is,

ldapsearch -v -p 636 -Z -P slapd-data-cert8.db -N server-cert -K slapd-data-key3.db -W "SSL_Key" -b "o=exaple.com" -s base objectClass=*

ldapsearch: started Wed Aug 13 13:11:20 2008

ldap_init( localhost, 636 )
ldaptool_getcertpath -- slapd-data-cert8.db
ldaptool_getkeypath -- slapd-data-key3.db
*SSL initialization failed: error -8174 (security library:
ldapsearch I am using here is the one comes with directory server (/<serverroot>/shared/bin/ldapsearch).
Can some one could help me please ?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 5 2009
Added on Aug 12 2008
2 comments
1,154 views