My Oracle Support Banner

How To Register A Secured Web Service In OAG Using two-way SSL? (Doc ID 1680170.1)

Last updated on MARCH 19, 2024

Applies to:

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

Goal

How do we register a Web Service with an OAG gateway that is deployed to a server with two-way SSL configured?

Solution

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
Goal
Solution
 1] Create the CA for testing
 2] Create the server keystore for testing
 3] Create the client keystore for testing
 4] Configure the server for two-way SSL
 5] Deploy a Web Service to the server
 6] Access the web service over the HTTPS port from the browser
 7] Configure Policy Studio to use the client keystore to be able to communicate with the server
 8] Register the Web Service using the HTTPS port on the server and deploy the configuration
 9] Test the web service call.  There will be some errors at this point, as the call is not configured to use SSL yet
 10] Import the certificates from the client keystore
 11] Set the Routing to use the trusted certificate and also the client SSL authentication certificate.  Deploy the configuration when complete
 12] Test again the call and now the call should be fine
References


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