Forum: Ruby WEBrick proxy - https reqrite question

Posted by Nokan Emiro (Guest)
on 2013-02-13 17:45
(Received via mailing list)
Hello,

I have a small proxy server here (using WEBrick::HTTPProxyServer) that
makes certain modifications in text/html content returned to the browser
(with the ProxyContentHandler).  It work fine except with https 
requests,
which, of course, it can't modify.  Do you have any idea how can I make
that work with HTTP and HTTPS too?  (In this case it is acceptable if 
the
browser pops up warning dialogs because of bad certificates, or there's
any other security downscale happening, like unencrypted/unauthenticated
traffic between the browser and the proxy, or so...  Rewriting the 
content
is way more important this time.)

Thanks for any of your ideas,
u.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.