# US 2020/0403811 A1 · Dynamic certificate pinning systems and methods

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

- Number: US 2020/0403811 A1
- Document ID: US20200403811A1
- Status: Published application
- Kind: A1
- Application number: 16/446,437
- Filed: 2019-06-19
- Published: 2020-12-24
- Earliest claimed: 2019-06-19
- Assignees: Citrix Systems, Inc.
- Applicants: Citrix Systems, Inc.
- Inventors: Chris Pavlou
- Web page: https://patentgrep.com/patent/US20200403811A1

## CPC

- H04L 9/3268: {using certificate validation, registration, distribution or revocation, e.g. certificate revocation list [CRL]}
- H04L 63/0823: {using certificates (cryptographic mechanisms or cryptographic arrangements for entity authentication involving certificates H04L9/3263)}
- H04L 63/166: {at the transport layer}
- H04L 63/168: {above the transport layer}
- H04L 2463/082: applying multi-factor authentication
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A computer system including a memory, a network interface, and at least one processor is provided. The at least one processor can transmit, via the network interface, a first message to a server application to initiate a handshake process; receive, via the network interface, a first copy of a security certificate from the server application; determine whether the first copy is valid; store, in response to a determination that the first copy is valid, the first copy in the memory; establish an initial secure connection to the server application; transmit, via the network interface, a second message to the server application to request a subsequent secure connection to the server application; receive, via the network interface, a second copy of the security certificate from the server application; determine whether the second copy matches the first copy; and establish the subsequent secure connection to the server application.

## Claims

### Claim 1

A computer system comprising:
a memory;
a network interface; and
at least one processor coupled to the memory and the network interface and configured to:
transmit, via the network interface, a first message to a server application to initiate a handshake process with the server application;
receive, via the network interface, a first copy of a security certificate from the server application;
determine whether the first copy is valid;
store, in response to a determination that the first copy is valid, the first copy in the memory;
establish, in response to the determination that the first copy is valid, an initial secure connection to the server application;
transmit, via the network interface, a second message to the server application to request a subsequent secure connection to the server application;
receive, via the network interface, a second copy of the security certificate from the server application;
determine whether the second copy matches the first copy; and
establish, in response to a determination that the second copy matches the first copy, the subsequent secure connection to the server application.

### Claim 2 (depends on 1)

The computer system of claim 1, wherein the at least one processor is configured to determine whether the second copy matches the first copy by comparing the second copy to the first copy byte-by-byte.

### Claim 3 (depends on 1)

The computer system of claim 1, wherein the subsequent secure connection is a low-level connection.

### Claim 4 (depends on 1)

The computer system of claim 1, wherein the memory stores no copies of the security certificate prior to transmitting the first message.

### Claim 5 (depends on 1)

The computer system of claim 1, wherein the at least one processor is further configured to:
determine, in response to a determination that the second copy does not match the first copy, whether the subsequent secure connection is a high-level connection;
determine, in response to a determination that the subsequent secure connection is a high-level secure connection, whether the second copy is valid; and
store, in response to a determination that the second copy is valid, the second copy in the memory.

### Claim 6 (depends on 1)

The computer system of claim 1, wherein to determine whether the first copy is valid comprises to execute a full transport layer security validation of the first copy.

### Claim 7 (depends on 1)

The computer system of claim 1, wherein the at least one processor is further configured to:
establish, in response to the determination that the first copy is valid, a secure communication session with the server application, the secure communication session comprising the initial secure connection; and
add, in response to the determination that the second copy matches the first copy, the subsequent secure connection to the secure communication session.

### Claim 8 (depends on 7)

The computer system of claim 7, wherein the secure communication session comprises an expiration time.

### Claim 9

A method of establishing secure connections using dynamic pinning within a computer system, the method comprising:
transmitting, via a network interface of the computer system, a first message to a server application to initiate a handshake process with the server application;
receiving, via the network interface, a first copy of a security certificate from the server application;
determining whether the first copy is valid;
storing, in response to a determination that the first copy is valid, the first copy in a memory of the computer system;
establishing, in response to the determination that the first copy is valid, an initial secure connection to the server application;
transmitting, via the network interface, a second message to the server application to request a subsequent secure connection to the server application;
receiving, via the network interface, a second copy of the security certificate from the server application;
determining whether the second copy matches the first copy; and
establishing, in response to a determination that the second copy matches the first copy, the subsequent secure connection to the server application.

### Claim 10 (depends on 9)

The method of claim 9, wherein determining whether the second copy matches the first copy comprises comparing the second copy to the first copy byte-by-byte.

### Claim 11 (depends on 9)

The method of claim 9, wherein transmitting the second message to the server application comprises transmitting a second message to request a low-level connection.

### Claim 12 (depends on 9)

The method of claim 9, further comprising:
determining, in response to a determination that the second copy does not match the first copy, whether the subsequent secure connection is a high-level connection;
determining, in response to a determination that the subsequent secure connection is a high-level secure connection, whether the second copy is valid; and
storing, in response to a determination that the second copy is valid, the second copy in the memory.

### Claim 13 (depends on 9)

The method of claim 9, wherein determining whether the first copy is valid comprises executing a full transport layer security validation of the first copy.

### Claim 14 (depends on 9)

The method of claim 9, further comprising:
establishing, in response to the determination that the first copy is valid, a secure communication session with the server application, the secure communication session comprising the initial secure connection; and
adding, in response to the determination that the second copy matches the first copy, the subsequent secure connection to the secure communication session.

### Claim 15 (depends on 14)

The method of claim 14, wherein establishing the secure communication session comprises storing an expiration time in association with the secure communication session.

### Claim 16

A non-transitory computer readable medium storing executable sequences of instructions to establishing secure connections using dynamic pinning, the sequences of instructions comprising instructions to:
transmit, via a network interface, a first message to a server application to initiate a handshake process with the server application;
receive, via the network interface, a first copy of a security certificate from the server application;
determine whether the first copy is valid;
store, in response to a determination that the first copy is valid, the first copy in a memory;
establish, in response to the determination that the first copy is valid, an initial secure connection to the server application;
transmit, via the network interface, a second message to the server application to request a subsequent secure connection to the server application;
receive, via the network interface, a second copy of the security certificate from the server application;
determine whether the second copy matches the first copy; and
establish, in response to a determination that the second copy matches the first copy, the subsequent secure connection to the server application.

### Claim 17 (depends on 16)

The computer readable medium of claim 16, wherein the instructions to transmit the second message to the server application comprise instructions to transmit a second message to request a low-level connection.

### Claim 18 (depends on 16)

The computer readable medium of claim 16, wherein the sequences of instructions further comprise instructions to:
determine, in response to a determination that the second copy does not match the first copy, whether the subsequent secure connection is a high-level connection;
determine, in response to a determination that the subsequent secure connection is a high-level secure connection, whether the second copy is valid; and
store, in response to a determination that the second copy is valid, the second copy in the memory.

### Claim 19 (depends on 16)

The computer readable medium of claim 16, wherein the sequences of instructions further comprise instructions to:
establish, in response to the determination that the first copy is valid, a secure communication session with the server application, the secure communication session comprising the initial secure connection; and
add, in response to the determination that the second copy matches the first copy, the subsequent secure connection to the secure communication session.

### Claim 20 (depends on 19)

The computer readable medium of claim 19, wherein the instructions to establish the secure communication session comprises instructions to store an expiration time in association with the secure communication session.
