4 ms·
There are many ways to achieve the same effect. The most obvious is to install the private key of the service on the middle box and terminate the TLS connection
by phicoh 10y ago
There are many ways to achieve the same effect. The most obvious is to install the private key of the service on the middle box and terminate the TLS connection there.
More complex is to log the DH private key that is used and make that available to the middle box.
And as last resort, the server can just send all plain text to the middle box.
There is no such thing as one-size-fits-all security. The important thing of course, is to make sure that such a feature cannot be turned on accidentally.
I don't know about EC, but in classical DH, if the server uses the same DH private key for all connections, then a client can detect that (by initiating multiple connections). So a paranoid client library can issue a warning.