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
Post a Comment