Unable to connect to Active Directory over SSL with dbms_ldap (Doc ID 1561121.1)

Last updated on MARCH 08, 2017

Applies to:

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

Symptoms

Attempting to connect to Active Directory using DBMS_LDAP package that
needs to connect to AD using SSL.

Using DBMS_LDAP.open_ssl.



example:
  DBMS_LDAP.open_ssl(
  ld => l_session,
  sslwrl => NULL, -- wallet location, ie file:/etc/ORACLE/WALLETS/oracle
  sslwalletpasswd => NULL, -- wallet password
  sslauth => 2); -- NO_AUTH :1, ONE_WAY_AUTH: 2, TWO_WAY_AUTH: 3

but the following error is received:
  ORA-31202: DBMS_LDAP: LDAP client/server error: UnKnown Error Encountered

Cause

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