My Oracle Support Banner

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 AUGUST 30, 2023

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/RAC/wallet/cwallet.sso -Q -h <hostname> -p 1636 uid=<uid>
Please enter bind password:
Please enter SSL wallet password:
ldap_open( <HOSTNAME>, 1636 )
SSL handshake failed
 

Solution

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
Goal
Solution
References


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