OAM 11g: Curl Command to Test REST Service fails with Error "Not authorized. Provide Authorization Header"

(Doc ID 1991085.1)

Last updated on MAY 01, 2017

Applies to:

Oracle Access Manager - Version 11.1.2.2.0 to 11.1.2.2.4 [Release 11g]
Information in this document applies to any platform.

Symptoms

Getting error when running curl command to test the REST service for Automated Policy Synchronization set up.

curl -u <user> 'https://oam1.example.com:7002/oam/services/rest/_replication/hello'

"Not authorized. Provide Authorization Header."

Reference: 7.7.3 Enabling the Replication Service.
http://docs.oracle.com/cd/E40329_01/admin.1112/e27239/mdc.htm#AIAAG89396

 

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