My Oracle Support Banner

DBMS_LDAP with SSL (DBMS_LDAP.open_ssl) Fails with: ORA-31202: DBMS_LDAP: LDAP client/server error: UnKnown Error Encountered (Doc ID 1288136.1)

Last updated on OCTOBER 03, 2023

Applies to:

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

Symptoms

Using a PL/SQL code block that calls DBMS_LDAP to connect to a 3rd party LDAP server (i.e., OpenLdap, Novell, etc) in SSL (Secure Sockets Layer) mode.

The SSL connection fails with:

ERROR at line 1:
ORA-31202: DBMS_LDAP: LDAP client/server error: UnKnown Error Encountered
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
ORA-06512: at "SYS.DBMS_LDAP", line 1457
ORA-06512: at "SYS.DBMS_LDAP", line 1234
ORA-06512: at line 16

Connecting without SSL is working.

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


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