DBMS_LDAP with SSL (DBMS_LDAP.open_ssl) Fails with: ORA-31202: DBMS_LDAP: LDAP client/server error: UnKnown Error Encountered
Last updated on MAY 02, 2018
Applies to:Oracle Internet Directory - Version 9.0.4 and later
Information in this document applies to any platform.
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.
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