My Oracle Support Banner

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

Last updated on MAY 02, 2018

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

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
Symptoms
Cause
Solution
References


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.