Configuring OAG As HTTP Proxy To a HTTPS Endpoint

(Doc ID 2415129.1)

Last updated on JUNE 27, 2018

Applies to:

Oracle API Gateway - Version 11.1.2 and later
Information in this document applies to any platform.

Goal

Attempting to configure OAG 11.1.2.4 to act as an HTTP proxy. We are attempting to use it to proxy to a backend HTTPS service.

After setting up a policy consisting of a dynamic router and connection, it is rejecting CONNECT attempts.

CONNECT newhost:443 HTTP/1.1
Host:newhost
User-Agent: Apache-HttpClient/4.5.5 (Java/1.8.0_171)
the path 'newhost:443' does not match against any of the configured URIs.
recoverable error handling transaction:
HTTP/1.1 404 general exception
Content-Type: text/plain
Server:
Connection: close
X-CorrelationID: ......
general exception


Is it possible to setup OAG as an HTTP proxy in this scenario?

Solution

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