Opam.sh Returns "Provided URL Is Not A Valid OPAM Server URL" For a Valid URL. (Doc ID 2170093.1)

Last updated on SEPTEMBER 08, 2017

Applies to:

Oracle Privileged Account Manager - Version 11.1.2.0.0 and later
Information in this document applies to any platform.

Symptoms

opam.sh returns "Provided URL is not a valid OPAM Server URL" for a valid URL when running simple commands such as the getserverstatus command.

export ORACLE_HOME=/opt/oracle/middleware/Oracle_IDM1
cd $ORACLE_HOME/opam/bin
./opam.sh -x getserverstatus -u weblogic -p PASSWORD -url https://server.domain.com:18102/opam

However, this returns the following output:
Using OPAM Server URL: https://server.domain.com:18102/opam
Provided URL is not a valid OPAM Server URL

The server url is confirmed resolvable to an IP address and up, and the same connection information works in the OPAM console web page for server connection.  The IP address can also be pinged, and connection to port 18102 with a telnet client is successful, confirming the port is not blocked.

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