My Oracle Support Banner

ODSEE 11g - Solaris Native ldapsearch vs ODSEE ldapsearch with SSL (Doc ID 2237636.1)

Last updated on MARCH 28, 2022

Applies to:

Oracle Directory Server Enterprise Edition - Version 6.0 and later
Information in this document applies to any platform.


Why does Solaris 10 /usr/bin/ldapsearch command fail for SSL while the ./dseeX/bin/dsrk/bin/ldapsearch succeed?


Test from Solaris /usr/bin/ldapsearch which fails:

/usr/bin/ldapsearch -h <HOSTNAME> -p <PORT> -Z -P $CERT_PATH/cert8.db -D "cn=<PROXY_DN>" -w <PASSWORD> -b "" -s base "objectclass=*" dn
ldap_simple_bind: Can't contact LDAP server

ODSEE DPS access log showing:

[27/Feb/2017:15:44:20 -0500] - CONNECT - INFO - <......> client=<CLIENT_IP>:<CONN> server=<HOSTNAME>.<DOMAIN>:<PORT> protocol=LDAPS
[27/Feb/2017:15:44:20 -0500] - OPERATION - INFO - <......> DISCONNECT [Thread Worker Thread 10]
[27/Feb/2017:15:44:20 -0500] - DISCONNECT - INFO - <......> reason="other" msg="Exception caught while polling client connection LDAPS.<CLIENT_IP>:<CONN> -- Received fatal alert: bad_certificate"

Test from $DS_INSTALL_ROOT/dsee7/dsrk/bin/ldapsearch

$DS_INSTALL_ROOT/dsee7/dsrk/bin/ldapsearch -h <HOSTNAME> -p <PORT> -D "cn=<PROXY_DN>" -w <PASSWORD> -Z -P $CERT_DB_PATH -b "" -s base "objectclass=*" dn

version: 1




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.