Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So the issue is that I have quite a few homebrew scripts/web testing programs that only work with HTTP. The problem is that the website only allows HTTPS connections.

Does anyone know of a way to have like a proxy or something maintain the SSL connection while forwarding the HTTP traffic?

I suppose in essence i kind of need a SSL tunnel?

any ideas?

share|improve this question
If a webpage works on HTTP correctly, it should work just fine with HTTPS as well - HTTPS is just HTTP with an SSL encryption layer. What kind of errors do you get when trying to use the web apps under HTTPS? – Kerri Shotts Jun 24 '11 at 4:30
All HTTP is essentially HTTP in an SSL "tunnel." I agree with the earlier comment--you need to clarify what exactly you want to do, and what problems you're having. – Flimzy Jun 24 '11 at 5:00
Not sure the above commenters understand what is being asked. He has programs running on his local machine. These scripts were built without support for HTTPS. HTTPS is indeed "just" HTTP with an SSL layer, but that is a big difference in practice and requires that his programs either be written to handle all SSL handshake and session management, OR to do something like what he is asking for. – queso Jun 24 '11 at 6:55
up vote 4 down vote accepted

Yes. One answer is stunnel. I'll leave it to you to read that guy's nice tutorial, but the gist is that stunnel takes any TCP connection (HTTP on the net uses TCP) and wraps it in an SSL connection, which is exactly what you would need to connect to a sever in the manner you describe.

The linked tutorial is more than you need, but the basics are there for creating a simple single host session.

share|improve this answer

Nginx with proxy_pass to https. Try adding below configuration to nginx:

server {
    listen 9000;
    server_name localhost;

    location / {

And then you can connect via http:// localhost:9000/

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .