ssl - HTTPS tunneling through my proxy -


i'm trying build complete web caching proxy using boost asio , libcurl, i've built server , works fine. receives http requests (get, post, upload using post ...) correctly , sends responses browser e.g correctly.

now, want extend it, can handles https requests. read in libcurl web site http://curl.haxx.se/libcurl/c/libcurl-tutorial.html (proxy section), understood how works , have clear idea how should done. didn't find documentation how proxies handle https requests. and:

  • what possible messages (information, format, length ...) exchanged source application , proxy ?
  • things consider.
  • ...

thanks in advance :-) .

you receive connect command in plain text, , respond ditto, communications after encrypted. if proxy ssl endpoint, highly problematic given https requires certificate matches target host-address, need enter ssl mode on both connections. more should start copying bytes in both directions without attempting process contents.


Comments

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -