Solved

Reverse Proxy - http to https

Posted on 2014-11-18
2
405 Views
Last Modified: 2014-11-24
I am running Oracle XE 11.2.0.2.0 on CentOS and having problem with https when calling through UTL_HTTP package when the SSL certificates of the server I access are signed with SSH-2. Oracle 11.2.0.2.0 and earlier can only handle SSH-1.
As there's no patch for XE this cannot be fixed.
UTL_HTTP however can take an argument for a Proxy server through which the required host can be accessed.  
I am thinking to have some kind of proxy server to which Oracle UTL_HTTP can make http call and the proxy server in the background makes https call to the actual host.  
But not sure how to do it and what do I need for this.
Any ideas are welcome.
0
Comment
Question by:sysautomation
2 Comments
 
LVL 33

Accepted Solution

by:
Dave Howe earned 500 total points
ID: 40450386
Assuming that you mean sha-1 vs sha-2.

At least in theory you should be able to do this with stunnel - stunnel listeners let you interchange between ssl wraps & non-ssl. With two of them, you could run client ssl - stunnel - plain - stunnel - ssl oracle.

If you have control of the Oracle server though, it would be easier to just have a listener with a self-generated cert without the issue :)
0
 

Author Closing Comment

by:sysautomation
ID: 40462014
Thanks. I used Apache ProxyPass to point to https traffic and make Apache run with http. Then called Apache URL in http instead of the target server with https.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question