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 31, 2016

Applies to:

Oracle Internet Directory - Version 9.0.4 to 11.1.1 [Release 10gR1 to 11g]
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.

Changes

 

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