# US 2025/0158966 A1 · Framework For Configurable Per-Service Security Settings In A Forward Proxy

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0158966 A1
- Document ID: US20250158966A1
- Status: Published application
- Kind: A1
- Application number: 18/954,756
- Filed: 2024-11-21
- Published: 2025-05-15
- Earliest claimed: 2022-04-19
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Arupendra N. Roy; Arun Yadav; Chin Pong Kwong; Gerardo Diaz Cuellar; Alexandru Naparu; Jing Li
- Web page: https://patentgrep.com/patent/US20250158966A1

## CPC

- H04L 63/0281: {Proxies}
- H04L 63/0823: {using certificates (cryptographic mechanisms or cryptographic arrangements for entity authentication involving certificates H04L9/3263)}
- H04L 63/0869: {for achieving mutual authentication (cryptographic mechanisms or cryptographic arrangements for mutual authentication H04L9/3273)}
- H04L 63/0884: {by delegation of authentication, e.g. a proxy authenticates an entity to be authenticated on behalf of this entity vis-à-vis an authentication entity}
- H04L 63/166: {at the transport layer}
- H04L 67/289: Intermediate processing functionally located close to the data consumer application, e.g. in same machine, in same home or in same sub-network
- H04L 67/56: Provisioning of proxy services (store-and-forward switching systems in data switching networks H04L12/54)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Examples of the present disclosure describe systems and methods for configuring and executing per-service TLS settings in a forward proxy. In examples, a proxy device receives a connection request from a client device to access a service. The proxy device identifies service connection information included in the connection request and selects a connection scheme for connecting to the service. The service connection information is compared to a static mapping of connection data in the connection scheme. If the service connection information matches the static mapping of connection data, a TLS type is determined for the connection request. If the service connection information does not match the static mapping of connection information, the service connection information is compared to a dynamic mapping of session information. Based on the comparison of the service connection information to the dynamic mapping of session information, a TLS type is determined for the connection request.

## Claims

### Claim at position 1

-20. (canceled)

### Claim 21

A system comprising:
a processor; and
memory comprising computer executable instructions that, when executed, perform operations comprising:
in response to a connection request from a client device to connect to a service, providing, by a forward proxy, a request for a client certificate to the client device;
determining that a response, from the client device, to the request for the client certificate does not include a connection exception;
determining that a dynamic mapping of session information indicates that an authentication value used to connect to the service is undecided;
updating the dynamic mapping of session information to set the authentication value to two-way authentication; and
attempting to establish a communication session between the client device and the service using the two-way authentication.

### Claim 22 (depends on 21)

The system of claim 21, the operations further comprising:
prior to attempting to establish the communication session between the client device and the service, receiving the client certificate from the client device; and
providing the client certificate to the service.

### Claim 23 (depends on 21)

The system of claim 21, the operations further comprising:
accessing a server certificate for the service; and
providing the server certificate to the client device for validation.

### Claim 24 (depends on 21)

The system of claim 21, wherein the connection exception indicates that an error occurred with the request from the client certificate.

### Claim 25 (depends on 21)

The system of claim 21, wherein the dynamic mapping of session information is included in a connection scheme stored by the forward proxy.

### Claim 26 (depends on 25)

The system of claim 25, wherein the connection scheme further includes:
a set of connection settings for connecting one or more client devices to one or more services; and
an identifier of a server certificate for at least one of the one or more services.

### Claim 27 (depends on 21)

The system of claim 21, wherein the dynamic mapping of session information comprises a pattern corresponding to at least one of:
a domain name of the service;
a hostname for the service; or
an Internet Protocol (IP) address from the service.

### Claim 28 (depends on 21)

The system of claim 21, wherein determining that the dynamic mapping of session information indicates that the authentication value used to connect to the service is undecided comprises:
searching the dynamic mapping of session information for the authentication value; and
determining the authentication value does not indicate one-way authentication or two-way authentication.

### Claim 29

A device comprising:
a processor; and
memory comprising computer executable instructions that, when executed, perform operations comprising:
in response to a connection request from a client device to connect to a service, providing a request for a client certificate to the client device;
determining that a response, from the client device, to the request for the client certificate includes a connection exception;
determining that a dynamic mapping of session information indicates that an authentication value used to connect to the service is not set to two-way authentication;
updating the dynamic mapping of session information to set the authentication value to one-way authentication; and
attempting to establish a communication session between the client device and the service using the one-way authentication.

### Claim 30 (depends on 29)

The device of claim 29, wherein updating the dynamic mapping of session information to set the authentication value to one-way authentication comprises:
in response to determining that the dynamic mapping of session information indicates that the authentication value used to connect to the service is not set to two-way authentication, updating a retry count for the connection request; and
determining whether a number of current connection attempts for the connection request meets a predetermined retry threshold.

### Claim 31 (depends on 30)

The device of claim 30, wherein:
updating the dynamic mapping of session information to set the authentication value to one-way authentication is performed in response to determining the number of current connection attempts for the connection request meets the predetermined retry threshold.

### Claim 32 (depends on 30)

The device of claim 30, wherein:
in response to determining the number of current connection attempts for the connection request does not meet the predetermined retry threshold, sending another request for the client certificate to the client device.

### Claim 33 (depends on 29)

The device of claim 29, wherein the device is a forward proxy implemented between a network and the client device.

### Claim 34 (depends on 33)

The device of claim 33, wherein the forward proxy is configured to enable termination of transport layer security (TLS) connection requests provided by the client device.

### Claim 35 (depends on 29)

The device of claim 29, wherein the device stores the dynamic mapping of session information in a connection scheme for connecting the client device to the service.

### Claim 36 (depends on 35)

The device of claim 35, wherein the connection scheme comprises at least one of:
an identifier of a device role for a server device comprising the service; or
one or more Subject Alternative Names (SANs) protected by a server certificate for the service.

### Claim 37 (depends on 29)

The device of claim 29, the operations further comprising:
identifying a server certificate for the service;
providing the server certificate to the client device for validation; and
in response to receiving, from the client device, an indication that the server certificate has bee validated, attempting to establish the communication session between the client device and the service using the one-way authentication.

### Claim 38 (depends on 37)

The device of claim 37, wherein identifying the server certificate for the service comprises at least one of:
retrieving the server certificate from a storage location identified by a connection scheme comprising the dynamic mapping of session information; or
generating the server certificate in real-time.

### Claim 39

A method comprising:
receiving, at a forward proxy, a connection request from a client device to connect to a service;
in response to the connection request, providing a request for a client certificate to the client device;
receiving a connection exception in a response from the client device to the request for the client certificate;
determining that a dynamic mapping of session information indicates that an authentication value used to connect to the service is set to two-way authentication; and
in response to determining that the dynamic mapping of session information indicates that the authentication value used to connect to the service is set to two-way authentication, terminating the connect request.

### Claim 40 (depends on 39)

The method of claim 39, wherein the connection exception indicates one of:
the client device unexpectedly received the request for the client certificate; or
an interrupted connection between the forward proxy and the client device.
