Untrusted Proxy TLS Handshake Latency Reduction

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

High-latency relay systems, such as those in rural areas, experience significant delays due to the two-round trip handshake protocol in Transport Layer Security (TLS) authentication, which hampers secure network communication.

Innovation Solution

Introducing an untrusted proxy between the client and server devices to reduce the TLS handshake to a single round trip, allowing pre-generated messages to be used, thereby mitigating latency without compromising security by not sharing private keys with the proxy.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a two-round trip handshake protocol is used for TLS authentication, then security is ensured, but latency increases significantly in high-latency relay systems

Engineering Contradiction:
ImprovesecurityVSAvoidlatency
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent introduces a proxy server as an intermediary between the client and server. The proxy receives the client's hello message, generates and caches server hello messages in advance, and sends pre-generated responses back to the client. This intermediary mechanism reduces the handshake from two round trips to one round trip, significantly reducing latency in high-latency relay systems while maintaining security through proper certificate validation and key exchange protocols.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Productivity

If an untrusted proxy is introduced to reduce handshake latency, then session initiation speed increases, but security risks may be introduced

Engineering Contradiction:
Improvesession initiation speedVSAvoidsecurity
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The proxy server performs preliminary actions by generating and caching server hello messages in advance before actual client connections are established. When a client connects, the proxy retrieves pre-generated messages from cache rather than generating them in real-time, enabling rapid session initiation. The proxy is designed to be untrusted, meaning it does not store or access private keys, thereby maintaining security while achieving high productivity.

Inventive Principle:
Principle #10Preliminary action

3Loss of time

If private keys are shared with the proxy to enable session resumption, then latency is reduced, but security is compromised

Engineering Contradiction:
Improvehandshake timeVSAvoidsecurity risk
Core Design Contradiction:
Loss of timeVSObject-affected harmful factors

Solution Approach 1:

The patent extracts the latency-reducing functionality from the security-critical components. Instead of sharing private keys with the proxy, the system extracts only the necessary public information and pre-generated server hello messages (containing public keys and certificates) to be cached and reused. This separation allows the proxy to reduce handshake time without compromising security, as private keys never leave the original server.

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS10237241B2Transport layer security latency mitigation
Publication Date: 2019.03.19 META PLATFORMS INC
  • US10237241B2 patent drawing
  • US10237241B2 patent drawing
  • US10237241B2 patent drawing

AI summary

Some embodiments include a method of utilizing a proxy device to mitigate latency related to a transport layer security (TLS) handshake protocol. The proxy device can be an untrusted proxy of a server or a client. The proxy device can negotiate cipher suites on behalf of its principal (e.g., the server or the server) without storing private keys of its principal. The use of the proxy device can reduce a typical two round-trips taken between the server and the client into a single round-trip.