I want to do this:
HTTP client -> [proxy] -> HTTPS server. Possible?
But I want it as a command line program that turns a port on localhost into an HTTP listener for a remote HTTPS server, so some dumb software I have can talk to localhost on HTTP.
I don't want Apache, nginx if I can avoid it, I want something like
sproxy -p 8080 --force-cert https://remote.host/
where --force-cert ignores an invalid cert. The above would make 127.0.0.1:8080 accessible to software that can only talk HTTP so that it can talk to https://remote.host/.
Does anything like this exist?
Edit: major, major bonus if it can handle HTTP AUTH, as well. Our sysadmin is really paranoid. :|