"CUSTOM JDBC" Connection with LDAPS Fails with "Root exception is java.net.MalformedURLException: unsupported authority" From SQL Developer
(Doc ID 3068738.1)
Last updated on JANUARY 24, 2025
Applies to:
Oracle SQL Developer - Version 22.2.1 and laterInformation in this document applies to any platform.
Symptoms
SQL Developer does not support SSL in the LDAP server URL due to the following bug:
Bug 35058696 - SQL DEVELOPER CONNECTION TYPE "LDAP" FOR SSL FAILS
The workaround for LDAPS is to create connection type as "CUSTOM JDBC".
For Example:
You create "CUSTOM JDBC" with URL:
However, when you test this LDAPS connection, it fails with:
Testing JDBC SSL connection from outside of SQL Developer also fails.
References:
Document:3068680.1 - JDBC LDAPS Connections Fail with java.net.ConnectException: Connection refused
Document:2979846.1 - How to Test Simple JDBC Code Outside of SQL Developer
Changes
You want to make an LDAPS connection.
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 |
Changes |
Cause |
Solution |
References |