Is it possible send a HTTPS (layer 7) request from a client, converting the package to TCP (layer 4) - as it needs to pass a TCP proxy in between, and then convert the TCP package to HTTPS (layer 7) again in order to make a call to the destination server in the internet?
- I am trying to understand if this is a common pattern?
- I would assume all the HTTPS (layer 7) will get lost during the conversion? Or is there a way to keep this information?
Thanks in advance!
CodePudding user response:
In short answer NO.
The layers represent the information added to the packet to be sent from A to B, you can not remove parts of the packet and expect to reach its destination with the "message" (layer 7) in it.