Solved

Reverse Proxy - http to https

Posted on 2014-11-18
2
388 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.

863 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now