I am trying to setup stunnel to access a HTTPS web service from a HTTP-only client. Should be a piece of cake, right? I have the following stunnel.conf:
client=yes
verify=0
[test-https]
accept = 1337
connect = www.google.com:443
But when I point my browser to http://localhost:1337 I get the 404 error page from Google:
404. That’s an error.The requested URL / was not found on this server
I tried many other sites and always get some kind of error. Wordpress sites, for example, would say:
Neither /etc/wordpress/config-localhost.php nor /etc/wordpress/config-localhost.php could be found. Ensure one of them exists, is readable by the webserver and contains the right password/username.
It seems I am doing something fundamentally wrong but every single example on the web show the exact same configuration I have. Can someone please give me any kind of help?
I am using stunnel 5.02-1 (x86_64) on Arch Linux. I put my stunnel log on pastebin.