My Oracle Support Banner

OUD 12c - Unable to Connect to Admin Port with the "dsconfig" Command with Error: "Unable to connect to the server at "<HOSTNAME>" on port <PORT> using LDAP or HTTP" (Doc ID 2593807.1)

Last updated on JANUARY 23, 2024

Applies to:

Oracle Unified Directory - Version 12.2.1.3.180829 and later
Information in this document applies to any platform.

Symptoms

The following steps were followed to create an OUD proxy instance:

export INSTANCE_NAME=<INSTANCE_NAME>
export JAVA_HOME=/path/to/java/

$ oud-proxy-setup --cli \
--ldapPort <PORT>\
--adminConnectorPort <PORT> \
--rootUserDN "<ROOT USER DN>" \
--rootUserPasswordFile /path/to/password.file \
--enableStartTLS \
--ldapsPort <PORT> \
--generateSelfSignedCertificate \
--eusContext "<SUFFIX>" \
--no-prompt

The instance created successfully.

 - When attempting to connect to the admin port with dsconfig, the following error was returned.

$ ./dsconfig -h <HOSTNAME> -p <PORT> -D "<INCORRECT ROOT USER DN>" -j /path/to/password.file -X -n get-connection-handler-prop --handler-name "LDAPS Connection Handler"
Unable to connect to the server at "<HOSTNAME>" on port <PORT> using LDAP or HTTP


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


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