HTTP to HTTPS Tunnel

httphttpsssltunnel

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?

Best Answer

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.

Related Question