SSL handshake failure while using Ldapsearch Command from the database home, Oracle DB 12.2.1.0.0 version (Doc ID 2218518.1)

Last updated on JUNE 09, 2017

Applies to:

Oracle Internet Directory - Version 11.1.1.9.0 and later
Information in this document applies to any platform.

Goal

How to use ldapsearch command from the database home.
------------------------------------------------------------------------------------------------
Why ldapsearch command while running from the database home fails with 'SSL handshake failed' error ? Refer below for sample command and the failure output.

[oracle@oracle1 ~]$ strace -fo strace.log ldapsearch -v -D <uid>-q -U 1 -W /opt/oracle/backup/RAC/DESY/apex_rac11/wallet/cwallet.sso -Q -h <hostname> -p 1636 uid=<uid>
Please enter bind password:
Please enter SSL wallet password:
ldap_open( it-ldap-slave.desy.de, 1636 )
SSL handshake failed
 

Solution

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms