<div>Hi,</div>  <div> </div>  <div>  I wan to customize web page before viewing by my browser Firefox.</div>  <div>  With "privoxy" (<A href="http://www.privoxy.org">www.privoxy.org</A>) I can modify (proxy filter) HTTP web page, but not HTTPS pages.</div>  <div>  So, I want to use stunnel, to transfer HTTPS in HTTP between my proxy and server, like this :</div>  <div> </div>  <div> browser (8118) <-> (8118) privoxy (8888) <-> (8888) stunnel (server:443) <-web-> server</div>  <div> </div>  <div>  This is my stunnel.conf :</div>  <div>----------------------------------------------------</div>  <div>ciphers = RC4-MD5:DES-CBC3-SHA</div>  <div>verify = 0<BR>debug = 7<BR>client = yes</div>  <div> </div>  <div>[https]<BR>accept  = 8888<BR>connect = server.server.com:443</div>  <div>TIMEOUTclose = 0</div>  <div>----------------------------------------------------</div>  <div> </div>  <div>  And my
 log :</div>  <div>----------------------------------------------------</div>  <div>2006.03.31 11:40:02 LOG7[3396:2944]: RAND_status claims sufficient entropy for the PRNG<BR>2006.03.31 11:40:02 LOG6[3396:2944]: PRNG seeded successfully<BR>2006.03.31 11:40:02 LOG7[3396:2944]: SSL context initialized for service https<BR>2006.03.31 11:40:02 LOG5[3396:2944]: stunnel 4.15 on x86-pc-mingw32-gnu with OpenSSL 0.9.7i 14 Oct 2005<BR>2006.03.31 11:40:02 LOG5[3396:2944]: Threading:WIN32 SSL:ENGINE Sockets:SELECT,IPv6<BR>2006.03.31 11:40:02 LOG5[3396:2952]: No limit detected for the number of clients<BR>2006.03.31 11:40:02 LOG7[3396:2952]: FD 192 in non-blocking mode<BR>2006.03.31 11:40:02 LOG7[3396:2952]: SO_REUSEADDR option set on accept socket<BR>2006.03.31 11:40:02 LOG7[3396:2952]: https bound to 0.0.0.0:8888<BR>2006.03.31 11:40:07 LOG7[3396:2952]: https accepted FD=200 from 127.0.0.1:2414<BR>2006.03.31 11:40:07 LOG7[3396:2952]: Creating a new thread<BR>2006.03.31 11:40:07 LOG7[3396:2952]:
 New thread created<BR>2006.03.31 11:40:07 LOG7[3396:3320]: https started<BR>2006.03.31 11:40:07 LOG7[3396:3320]: FD 200 in non-blocking mode<BR>2006.03.31 11:40:07 LOG5[3396:3320]: https connected from 127.0.0.1:2414<BR>2006.03.31 11:40:07 LOG7[3396:3320]: FD 232 in non-blocking mode<BR>2006.03.31 11:40:07 LOG7[3396:3320]: https connecting 195.101.206.82:443<BR>2006.03.31 11:40:07 LOG7[3396:3320]: connect_wait: waiting 10 seconds<BR>2006.03.31 11:40:07 LOG7[3396:3320]: connect_wait: connected<BR>2006.03.31 11:40:07 LOG7[3396:3320]: Remote FD=232 initialized<BR>2006.03.31 11:40:07 LOG7[3396:3320]: SSL state (connect): before/connect initialization<BR>2006.03.31 11:40:07 LOG7[3396:3320]: SSL state (connect): SSLv3 write client hello A<BR>2006.03.31 11:40:07 LOG7[3396:3320]: SSL state (connect): SSLv3 read server hello A<BR>2006.03.31 11:40:07 LOG7[3396:3320]: SSL state (connect): SSLv3 read server certificate A<BR>2006.03.31 11:40:07 LOG7[3396:3320]: SSL state (connect): SSLv3 read
 server done A<BR>2006.03.31 11:40:07 LOG7[3396:3320]: SSL state (connect): SSLv3 write client key exchange A<BR>2006.03.31 11:40:07 LOG7[3396:3320]: SSL state (connect): SSLv3 write change cipher spec A<BR>2006.03.31 11:40:07 LOG7[3396:3320]: SSL state (connect): SSLv3 write finished A<BR>2006.03.31 11:40:07 LOG7[3396:3320]: SSL state (connect): SSLv3 flush data<BR>2006.03.31 11:40:07 LOG7[3396:3320]: SSL state (connect): SSLv3 read finished A<BR>2006.03.31 11:40:07 LOG7[3396:3320]:    1 items in the session cache<BR>2006.03.31 11:40:07 LOG7[3396:3320]:    1 client connects (SSL_connect())<BR>2006.03.31 11:40:07 LOG7[3396:3320]:    1 client connects that finished<BR>2006.03.31 11:40:07 LOG7[3396:3320]:    0 client renegotiations requested<BR>2006.03.31 11:40:07 LOG7[3396:3320]:    0 server connects (SSL_accept())<BR>2006.03.31 11:40:07 LOG7[3396:3320]:    0 server connects that
 finished<BR>2006.03.31 11:40:07 LOG7[3396:3320]:    0 server renegotiations requested<BR>2006.03.31 11:40:07 LOG7[3396:3320]:    0 session cache hits<BR>2006.03.31 11:40:07 LOG7[3396:3320]:    0 session cache misses<BR>2006.03.31 11:40:07 LOG7[3396:3320]:    0 session cache timeouts<BR>2006.03.31 11:40:07 LOG6[3396:3320]: SSL connected: new session negotiated<BR>2006.03.31 11:40:07 LOG6[3396:3320]: Negotiated ciphers: RC4-MD5                 SSLv3 Kx=RSA      Au=RSA  Enc=RC4(128)  Mac=MD5 <BR>2006.03.31 11:40:07 LOG7[3396:3320]: Socket closed on read<BR>2006.03.31 11:40:07 LOG7[3396:3320]: SSL write shutdown<BR>2006.03.31 11:40:07 LOG7[3396:3320]: SSL alert (write): warning: close notify<BR>2006.03.31 11:40:07 LOG7[3396:3320]: SSL_shutdown retrying<BR>2006.03.31 11:40:07 LOG7[3396:3320]: SSL doesn't need to
 read or write<BR>2006.03.31 11:40:07 LOG6[3396:3320]: s_poll_wait timeout: connection close<BR>2006.03.31 11:40:07 LOG5[3396:3320]: Connection closed: 211 bytes sent to SSL, 163 bytes sent to socket<BR>2006.03.31 11:40:07 LOG7[3396:3320]: https finished (0 left)<BR>2006.03.31 11:40:07 LOG7[3396:2952]: https accepted FD=220 from 127.0.0.1:2417<BR>2006.03.31 11:40:07 LOG7[3396:2952]: Creating a new thread<BR>2006.03.31 11:40:07 LOG7[3396:2952]: New thread created<BR>2006.03.31 11:40:07 LOG7[3396:3944]: https started<BR>2006.03.31 11:40:07 LOG7[3396:3944]: FD 220 in non-blocking mode<BR>2006.03.31 11:40:07 LOG5[3396:3944]: https connected from 127.0.0.1:2417<BR>2006.03.31 11:40:07 LOG7[3396:3944]: FD 232 in non-blocking mode<BR>2006.03.31 11:40:07 LOG7[3396:3944]: https connecting 195.101.206.82:443<BR>2006.03.31 11:40:07 LOG7[3396:3944]: connect_wait: waiting 10 seconds<BR>2006.03.31 11:40:08 LOG7[3396:3944]: connect_wait: connected<BR>2006.03.31 11:40:08 LOG7[3396:3944]: Remote
 FD=232 initialized<BR>2006.03.31 11:40:08 LOG7[3396:3944]: SSL state (connect): before/connect initialization<BR>2006.03.31 11:40:08 LOG7[3396:3944]: SSL state (connect): SSLv3 write client hello A<BR>2006.03.31 11:40:08 LOG7[3396:3944]: SSL state (connect): SSLv3 read server hello A<BR>2006.03.31 11:40:08 LOG7[3396:3944]: SSL state (connect): SSLv3 read finished A<BR>2006.03.31 11:40:08 LOG7[3396:3944]: SSL state (connect): SSLv3 write change cipher spec A<BR>2006.03.31 11:40:08 LOG7[3396:3944]: SSL state (connect): SSLv3 write finished A<BR>2006.03.31 11:40:08 LOG7[3396:3944]: SSL state (connect): SSLv3 flush data<BR>2006.03.31 11:40:08 LOG7[3396:3944]:    1 items in the session cache<BR>2006.03.31 11:40:08 LOG7[3396:3944]:    2 client connects (SSL_connect())<BR>2006.03.31 11:40:08 LOG7[3396:3944]:    2 client connects that finished<BR>2006.03.31 11:40:08 LOG7[3396:3944]:    0 client renegotiations
 requested<BR>2006.03.31 11:40:08 LOG7[3396:3944]:    0 server connects (SSL_accept())<BR>2006.03.31 11:40:08 LOG7[3396:3944]:    0 server connects that finished<BR>2006.03.31 11:40:08 LOG7[3396:3944]:    0 server renegotiations requested<BR>2006.03.31 11:40:08 LOG7[3396:3944]:    1 session cache hits<BR>2006.03.31 11:40:08 LOG7[3396:3944]:    0 session cache misses<BR>2006.03.31 11:40:08 LOG7[3396:3944]:    0 session cache timeouts<BR>2006.03.31 11:40:08 LOG6[3396:3944]: SSL connected: previous session reused<BR>2006.03.31 11:40:08 LOG7[3396:3944]: Socket closed on read<BR>2006.03.31 11:40:08 LOG7[3396:3944]: SSL write shutdown<BR>2006.03.31 11:40:08 LOG7[3396:3944]: SSL alert (write): warning: close notify<BR>2006.03.31 11:40:08 LOG7[3396:3944]: SSL_shutdown retrying<BR>2006.03.31 11:40:08 LOG7[3396:3944]: SSL doesn't need to read or write<BR>2006.03.31 11:40:08 LOG6[3396:3944]: s_poll_wait
 timeout: connection close<BR>2006.03.31 11:40:08 LOG5[3396:3944]: Connection closed: 211 bytes sent to SSL, 163 bytes sent to socket<BR>2006.03.31 11:40:08 LOG7[3396:3944]: https finished (0 left)</div>  <div>----------------------------------------------------</div>  <div> </div>  <div>Note the first "Socket closed on read". I think the problem is there.</div>  <div>The web reply is "Bad Request (Invalid URL)"</div>  <div> </div>  <div>Where did I do a mistake ?</div>  <div> </div>  <div>  Thanks for answer,</div>  <div> </div>  <div>       Xavier</div>  <div> </div><p>
                <hr size=1> Nouveau : t�l�phonez moins cher avec Yahoo! Messenger ! D�couvez les tarifs exceptionnels pour appeler la France et l'international.
<a href="http://us.rd.yahoo.com/messenger/mail_taglines/default/*http://fr.beta.messenger.yahoo.com">T�l�chargez</a> la version beta.<p>
                <hr size=1> Nouveau : t�l�phonez moins cher avec Yahoo! Messenger ! D�couvez les tarifs exceptionnels pour appeler la France et l'international.
<a href="http://us.rd.yahoo.com/messenger/mail_taglines/default/*http://fr.beta.messenger.yahoo.com">T�l�chargez</a> la version beta.