eduardsui / tlse

Single C file TLS 1.2/1.3 implementation, using tomcrypt as crypto library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is its possible to make HTTPS Proxy using TLSe?

GuckTubeYT opened this issue · comments

Is it possible to make HTTPS Proxy using TLSe? if its possible, do you have example code HTTPS Proxy

Thanks

Hello,

Yes, it should be fairly easy. You will need to write a basic https server and a http(s) client. Requests will be then processed by the proxy and forwarded with optional header rewrite.

I don't have example code for this, it's not a trivial task, but it shouldn't be very difficult either.

E.

Hello,

Yes, it should be fairly easy. You will need to write a basic https server and a http(s) client. Requests will be then processed by the proxy and forwarded with optional header rewrite.

I don't have example code for this, it's not a trivial task, but it shouldn't be very difficult either.

E.

Oh, thanks for the information, so, i can use your code example like tlssimpleserver.c?

It's public domain, so ... of course. But keep in mind that tlssimpleserver.c is just a minimalistic example. It doesn't parse HTTP headers, it doesn't implement any useful features for a real HTTP server.