Thursday, March 17, 2016

Oracle API Gateway: Configure Inbound one way ssl in OAG

In production environment generally ssl interface is enable for safe and secure communication. In this blog post I am going to show you how to enable one way ssl interface in oracle api gateway.

Steps to enable SSL in OAG

  • Generate SSL certificate
  • Import Certificate in OAG
  • Configure Https Interface in OAG

Generate SSL certificate

You need openssl to create ssl certificate. you can download the openssl from here : https://www.openssl.org/source/

Please follow below blog post to configure ssl certificate

http://www.codeconfuse.com/2016/01/how-to-generate-ssl-certificate-using.html

Import Certificate in OAG
  • Go to Certificates and Keys --> certificates tab --> click on create/import
  • Click import to import the CA certificate, and give some alias name e.g. IA Cert
  • Import the private key as well if key is provided separately otherwise it is automatically imported in step 2


Configure Https Interface in OAG
  • Go to Listeners --> Oracle API Gateway --> Default Services --> Ports --> Add new Https interface and configure as below
  • Don't forget to select the x.509 certificate that you have imported above.
  • Go to Advance SSL tab and uncheck the box shown below

  • Click ok and finish the wizard
Now HTTPS interface is enabled, and you can use it on any path.

No comments:

Post a Comment