<span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; "><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">Hi </span></font><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br>
</span></font></div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">I am trying to create a SSL connection through Proxy server with authentication.</span></font></div>
<div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br></span></font></div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">my stunnel.conf file </span></font></div>
<div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">----- part of the conf file</span></font></div><div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">connect = <Proxy server IP: Port number></span></font></div>
<div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">protocol=connect</span></font></div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">protocolHost=<Destination server:Port number></span></font></div>
<div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">protocolUsername = useme</span></font></div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">protocolPassword = test</span></font></div>
<div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">-----</span></font></div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br>
</span></font></div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">but it fails to establish connection.</span></font></div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br>
</span></font></div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">Log details:</span></font></div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">----- part of log generated</span></font></div>
<div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">2010.02.09 16:07:49 LOG5[14506:2952859648]: Negotiations for connect (client side) started</span></font></div><div>
<font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">2010.02.09 16:07:49 LOG7[14506:2952859648]: -> CONNECT <Destination server:Port number> HTTP/1.1</span></font></div>
<div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">2010.02.09 16:07:49 LOG7[14506:2952859648]: -> Host: 6<Destination server:Port number></span></font></div><div>
<font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">2010.02.09 16:07:49 LOG7[14506:2952859648]: -> Proxy-Authorization: basic dXNlbWU6dGVzdA==</span></font></div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">2010.02.09 16:07:49 LOG7[14506:2952859648]: -> </span></font></div>
<div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">2010.02.09 16:07:49 LOG3[14506:2952859648]: Unexpected socket close (fdgetline)</span></font></div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">2010.02.09 16:07:49 LOG5[14506:2952859648]: Connection reset: 0 bytes sent to SSL, 0 bytes sent to socket</span></font></div>
<div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">2010.02.09 16:07:49 LOG7[14506:2952859648]: Service IDrive finished (0 left)</span></font></div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">-----</span></font></div>
<div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br></span></font></div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">I tried with proxy server without authentication it works great, but not sure why Proxy server with authentication is not working. Is it I am missing some thing or am I doing something wrong?</span></font></div>
<div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br></span></font></div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">I appreciate all suggestion and help on this.</span></font></div>
<div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br></span></font></div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">Thanks & Regards</span></font></div>
<div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">Girish Kolari</span></font></div></div></div></span>