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:

[Connection1]
client = yes
accept = 127.0.0.1:9006
connect = server.com:443


Response I get back is:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<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 />
<blockquote>Hint:
 <a 
href="https://server.com/";><b>https://server.com/</b></a></blockquote></p>
</body></html>



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


Thanks in advance,
Jake
                                          
_______________________________________________
stunnel-users mailing list
[email protected]
https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users

Reply via email to