[stunnel-users] 400 - Bad Request

j nasty skekasaurus at outlook.com
Wed Sep 17 18:47:55 CEST 2014

I'm trying to access a web service endpoint using sTunnel to handle all the SSL traffic. For my other connection setups this works perfectly fine. But for this one particular client I'm getting a 400 - Bad Request Error. 

Client Configuration looks like this:

client = yes
accept =
connect = server.com:443

Response I get back is:

<title>400 Bad Request</title>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
Reason: You're speaking plain HTTP to an SSL-enabled server port.<br />
Instead use the HTTPS scheme to access this URL, please.<br />

Is there a setting configuration I can use so that sTunnel redirects to https://server.com instead of server.com:443?

Thanks in advance,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20140917/5448ccfc/attachment.html>

More information about the stunnel-users mailing list