Systems and methods for supporting multiple certificates on the server side using the EAP-TLS protocol

By supporting multiple certificates on the server in the EAP-TLS protocol, the client sends index matching the target certificate for network authentication, which solves the problem that the client cannot automatically update when the server certificate is updated, and realizes that the certificate is not synchronously updated. Network access capability and security of network access authentication.

CN118199965BActive Publication Date: 2024-12-06HANGZHOU YIGE CLOUD TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410301856.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2023-12-20
Filing Date
2024-03-15
Publication Date
2024-12-06
Estimated Expiration
2044-03-15

AI Technical Summary

Technical Problem

In the EAP-TLS protocol, the client and the authentication server need to synchronize the server certificate, which causes the client to automatically complete the certificate update when the server certificate is updated, affecting the client's network access.

Method used

Provide a system and method that supports multiple certificates on the server. The client sends the server certificate index to the authentication server. The authentication server uses the index to match the target certificate from multiple server certificates, and performs network authentication. The management console generates it. and update the certificate index to ensure that the client can use the old certificate to join the network.

Benefits of technology

Without the need for client to update the certificate simultaneously, you can still use old certificates to perform network authentication, which improves the security and automation of network authentication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118199965B_ABST
    Figure CN118199965B_ABST
Patent Text Reader

Abstract

The present application relates to a system and method for supporting multiple server certificates for the EAP-TLS protocol. The system includes a client and an authentication server, wherein the client is used to send a server certificate index to the authentication server; the authentication server is used to determine a target server certificate from each server certificate stored in the authentication server based on the server certificate index, and perform network access authentication for the client based on the target server certificate. This method can support different clients to use different versions of certificates to access the network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a system and method for supporting multiple server certificates for the EAP-TLS protocol. Background Art

[0002] The 802.1X protocol is a port-based network access control protocol that verifies the identity of access devices to control their access to the LAN. The 802.1X protocol uses the EAP (Extensible authentication protocol) protocol to implement information exchange between the client, device, and authentication server. EAP-TLS is an identity authentication method based on the TLS (Transport Layer Security) protocol in the 802.1X protocol under the EAP protocol framework. It relies on the client's certificate and the server's certificate to perform identity authentication, and can dynamically generate a WEP (Wired Equivalent Privacy) key based on the user session to ensure the security of subsequent communications between the client and the access point.

[0003] One disadvantage of EAP-TLS is that the client and the authentication server will manage the server certificate synchronously. The client will pin the server certificate. Currently, in scenarios involving the need to update the server certificate, all clients need to uninstall the original server certificate, reinstall the new server certificate and pin it. This type of operation cannot be completed automatically on some systems (such as macOS, iOS, etc.) and requires user intervention (such as entering the management password), resulting in the client being unable to automatically complete the update of the server certificate, affecting the client's access to the network. Summary of the invention

[0004] Based on this, it is necessary to provide a system and method for supporting multiple server certificates for the EAP-TLS protocol in response to the above technical problems.

[0005] In the first aspect, the present application provides a system for supporting multiple server certificates for the EAP-TLS protocol. The system includes a client and an authentication server, wherein the client is used to send a server certificate index to the authentication server; the authentication server is used to determine a target server certificate from each server certificate stored by the authentication server based on the server certificate index, and perform network access authentication for the client based on the target server certificate.

[0006] In one of the embodiments, the server certificate index is encrypted based on the original server certificate index; the authentication server is also used to decrypt the server certificate index to obtain the original server certificate index, and based on the original server certificate index, match the target server certificate from the server certificates stored in the authentication server.

[0007] In one of the embodiments, the system further includes a management console, wherein the management console is used to generate the server certificate and the original server certificate index, and send the server certificate and the original server certificate index to the authentication server.

[0008] In one of the embodiments, the client is also used to send a server certificate download request to the management console when the client accesses the network for the first time through the authentication server; the management console is also used to respond to the server certificate download request, encrypt the original server certificate index, obtain the server certificate index, and send the server certificate and the server certificate index to the client.

[0009] In one of the embodiments, the authentication server is further used to send a network access authentication request to the client after matching the target server certificate; the client is further used to send a handshake request to the authentication server after receiving the network access authentication request; the authentication server is further used to send the target server certificate to the client after receiving the handshake request; the client is further used to verify the target server certificate based on the verification server certificate stored in the client, obtain a verification result, and access the network through the authentication server if the verification result is a pass result, wherein the verification server certificate is a server certificate downloaded by the client through the management console.

[0010] In a second aspect, the present application also provides a method for supporting multiple server certificates for the EAP-TLS protocol. The method includes:

[0011] Sending a server certificate index to an authentication server, so that the authentication server determines a target server certificate from server certificates stored in the authentication server based on the server certificate index;

[0012] Receive the target server certificate sent by the authentication server, and verify the target server certificate based on the verification server certificate stored in the client to obtain a verification result, and access the network through the authentication server if the verification result is a passing result.

[0013] In a third aspect, the present application also provides a method for supporting multiple server certificates for the EAP-TLS protocol. The method includes:

[0014] Receive the server certificate index sent by the client;

[0015] Based on the server certificate index, a target server certificate is determined from the server certificates stored in the authentication server, and based on the target server certificate, network access authentication is performed for the client.

[0016] In a fourth aspect, the present application further provides a device for supporting multiple server certificates for the EAP-TLS protocol. The device includes:

[0017] A determination module, configured to send a server certificate index to an authentication server, so that the authentication server determines a target server certificate from among the server certificates stored in the authentication server based on the server certificate index;

[0018] The receiving module is used to receive the target server certificate sent by the authentication server, and verify the target server certificate based on the verification server certificate stored in the client to obtain a verification result, and access the network through the authentication server when the verification result is a passing result.

[0019] In a fifth aspect, the present application also provides a device for supporting multiple server certificates for the EAP-TLS protocol. The device includes:

[0020] The receiving module is used to receive the server certificate index sent by the client;

[0021] The determination module is used to determine the target server certificate from the server certificates stored in the authentication server based on the server certificate index, and perform network access authentication for the client based on the target server certificate.

[0022] In a sixth aspect, the present application further provides a computer device, wherein the computer device comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements any of the above methods when executing the computer program.

[0023] In a seventh aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements any of the above methods when executed by a processor.

[0024] In an eighth aspect, the present application further provides a computer program product, wherein the computer program product comprises a computer program, and when the computer program is executed by a processor, any of the above methods is implemented.

[0025] The above system and method for supporting multiple server certificates for the EAP-TLS protocol enables the authentication server to store multiple versions of server certificates at the same time, and enables the client to use the server certificate index for identity authentication. After receiving the server certificate index, the authentication server uses the server certificate index to match the target server certificate from each server certificate, and uses the target server certificate and the client for subsequent network access authentication. By storing multiple server certificates in the authentication server, the client does not need to synchronously update the certificate stored in the client when the authentication server certificate is updated, and the network access authentication can also be performed using the old certificate. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 A schematic diagram of the interaction of various modules in a system supporting multiple server certificates for the EAP-TLS protocol in one embodiment;

[0027] Figure 2 A schematic diagram of the interaction of various modules in a system supporting multiple server certificates for the EAP-TLS protocol in one embodiment;

[0028] Figure 3 A schematic diagram of a process in which a management console issues a server certificate and a server certificate index to a client in one embodiment;

[0029] Figure 4 A schematic diagram of a process of performing network access authentication on an authentication server and a client in one embodiment;

[0030] Figure 5 A flowchart of a method for supporting multiple server certificates for the EAP-TLS protocol in one embodiment;

[0031] Figure 6 A flowchart of a method for supporting multiple server certificates for the EAP-TLS protocol in one embodiment;

[0032] Figure 7 It is a structural block diagram of a device for supporting multiple server certificates for the EAP-TLS protocol in one embodiment;

[0033] Figure 8 It is a structural block diagram of a device for supporting multiple server certificates for the EAP-TLS protocol in one embodiment;

[0034] Fig. 9 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0035] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0036] In one embodiment, Figure 1 As shown, a system for supporting multiple server certificates for the EAP-TLS protocol is provided, the system comprising a client 102 and an authentication server 104, wherein the client 102 is used to send a server certificate index to the authentication server 104; the authentication server 104 is used to determine a target server certificate from each server certificate stored in the authentication server 104 based on the server certificate index, and perform network access authentication for the client 102 based on the target server certificate.

[0037] In the embodiment of the present application, the client 102 is any terminal device that needs to access the network, and the authentication server 104 is a server in the 802.1X protocol used to perform network authentication for the client 102. Multiple versions of server certificates can be stored in the authentication server 104. The authentication server 104 can store all versions of server certificates, or the authentication server 104 can also set an expiration time for each server certificate, and if the server certificate index corresponding to a server certificate has not been received within the expiration time of a server certificate, it is equivalent to deleting the server certificate if no client 102 attempts to use the version of the server certificate for network authentication within the expiration time. The embodiment of the present application does not make specific limitations on this.

[0038] Each server certificate has its corresponding server certificate index. The server certificate indexes corresponding to different server certificates should be different. The embodiment of the present application does not specifically limit the method for generating the server certificate index. For example, the server certificate index can be generated according to the timestamp corresponding to the issuance time of the server certificate, or according to the unique identifier of the server certificate. Exemplarily, a hash algorithm can be used to process the server certificate to obtain the server certificate index. Any hash algorithm with a low collision probability is applicable to the embodiment of the present application, such as the SHA256 (Secure Hash Algorithm 256) algorithm.

[0039] The server certificate index is issued along with the server certificate. When the authentication server 104 obtains the server certificate and the client 102 obtains the server certificate, they will both simultaneously download the server certificate index corresponding to the server certificate to the local computer.

[0040] When the client 102 needs to access the network, the client 102 will send a network access request to the authentication server 104 through a network access control device used to control the network access of the client 102 and mediate messages between the client 102 and the authentication server 104. After receiving the network access request, the authentication server 104 will return an identity authentication request message to the client 102, requiring the client 102 to send it an identifier that can verify the identity of the client 102. After receiving the identity authentication request message, the client 102 can send an identity authentication response message to the authentication server 104, which includes the server certificate index stored in the client 102. The server certificate index is downloaded and saved together with the server certificate when the client 102 first accesses the network. The authentication server 104 can then use the server certificate index to match the target server certificate corresponding to the server certificate index from the various versions of the server certificates stored in itself, and then complete the network access authentication for the client 102 by comparing the target server certificate with the server certificate stored in the client 102 to see whether they are the same, and comparing the client certificate of the client 102 with the client certificate stored in the authentication server 104 to see whether they are the same.

[0041] It should be noted that the identity authentication response message sent by the client 102 to the authentication server 104 may include only the server certificate index, or may include other information that allows the authentication server 104 to further identify the identity of the client 102, such as the user name of the client 102, the unique identity of the client 102, etc., so that the authentication server 104 can more easily obtain the client certificate of the client 102 in the subsequent network access verification.

[0042] It should also be noted that, in the case where the authentication server 104 regularly cleans up expired server certificates, if the authentication server 104 cannot query the corresponding target server certificate according to the server certificate index, this may be because the server certificate index provided by the client 102 is incorrect, or it may be because the client 102 uses an expired server certificate index. In this case, the authentication server 104 can reject the client 102's network access request, or it can instruct the client 102 to first update the server certificate stored in the client 102. In the case where all versions of the server certificates are stored in the authentication server 104, if the authentication server 104 cannot query the corresponding target server certificate according to the server certificate index, the client 102's network access request can be rejected, and the embodiments of the present application do not specifically limit this.

[0043] The system for supporting multiple server certificates for the EAP-TLS protocol provided by the embodiment of the present application enables the authentication server to store multiple versions of server certificates at the same time, and enables the client to use the server certificate index for identity authentication. After receiving the server certificate index, the authentication server uses the server certificate index to match the target server certificate from each server certificate, and uses the target server certificate and the client for subsequent network access authentication. By storing multiple server certificates in the authentication server, the client does not need to synchronously update the certificate stored in the client when the authentication server certificate is updated, and the network access authentication can also be performed using the old certificate.

[0044] In one embodiment, the server certificate index is encrypted based on the original server certificate index; the authentication server 104 is also used to decrypt the server certificate index to obtain the original server certificate index, and match the target server certificate from the server certificates stored in the authentication server 104 based on the original server certificate index.

[0045] In the embodiment of the present application, the authentication server 104 stores the original server certificate index that has not been encrypted, and the client 102 stores the encrypted server certificate index. The authentication server 104 may also hold a method for decrypting the server certificate index, while the client 102 does not hold a method for decrypting the server certificate index. For example, when using an asymmetric encryption algorithm, only the private key for decrypting the server certificate index may be sent to the authentication server 104, not to the client 102. The embodiment of the present application does not specifically limit the method for encrypting the original server certificate index.

[0046] After receiving the server certificate index, the authentication server 104 can further decrypt the server certificate index using the decryption method stored in the authentication server 104 to obtain the original server certificate index, and then match the target server certificate corresponding to the original server certificate index from each server certificate.

[0047] The system that supports multiple server certificates for the EAP-TLS protocol provided in the embodiment of the present application enables the client to store only the encrypted server certificate index instead of the unencrypted original server certificate index, and only allows the authentication server to decrypt the server certificate index, thereby preventing the original server certificate index from being leaked during the transmission process between the client and the authentication server, thereby improving the security of network access authentication.

[0048] In one embodiment, Figure 2As shown, the system further includes a management console 106 , which is used to generate a server certificate and an original server certificate index, and send the server certificate and the original server certificate index to the authentication server 104 .

[0049] In the embodiment of the present application, since different authentication servers 104 may be deployed in different regions, each authentication server 104 can be uniformly managed through the management console 106. The management console 106 is responsible for updating the server certificate according to demand, generating the original server certificate index corresponding to the new server certificate, and then sending the new server certificate and the original server certificate index to each authentication server 104. The authentication server 104 then saves the new server certificate and the original server certificate index. The management console 106 can also push the new server certificate to each client 102 when each client 102 accesses the network after the server certificate is updated, as well as the server certificate index obtained by encrypting the original server certificate index, so as to enable the client 102 that can update the locally stored server certificate to update the locally stored server certificate as much as possible, so that these clients 102 can use the updated server certificate to access the network later. For the client 102 that cannot update the locally stored server certificate, since the authentication server 104 still stores the old server certificate, such client 102 can still use the locally stored old server certificate to access the network.

[0050] The embodiment of the present application provides a system that supports multiple server certificates for the EAP-TLS protocol, sets up a management console, manages the update of the server certificate through the management console, and enables the management console to send the updated server certificate and the original server certificate index that matches the server certificate to each authentication server, which can support scenarios where there are multiple authentication servers.

[0051] In one embodiment, Figure 3 As shown, the client 102 is also used to send a server certificate download request to the management console 106 when the client 102 first accesses the network through the authentication server 104; the management console 106 is also used to respond to the server certificate download request, encrypt the original server certificate index, obtain the server certificate index, and send the server certificate and server certificate index to the client 102.

[0052] In the embodiment of the present application, when the client 102 accesses the network for the first time through the authentication server 104, the client 102 can send a server certificate download request to the management console 106 to obtain the latest version of the server certificate of the management console 106. After receiving the server certificate download request, the management console 106 encrypts the original server certificate index of the latest version of the server certificate to obtain the server certificate index, and sends the server certificate index and the server certificate to the client 102. The management console 106 can also generate a client certificate corresponding to the client 102 at the same time, and send the client certificate, the server certificate index and the server certificate to the client 102 together.

[0053] After receiving the server certificate index and the server certificate, the client 102 stores the server certificate index and pins the server certificate. If the client 102 also receives the client certificate, the client certificate can be installed. Subsequently, the client 102 can use the locally stored server certificate and server certificate index for network authentication.

[0054] The system that supports multiple server certificates for the EAP-TLS protocol provided in the embodiment of the present application encrypts the original server certificate index through the management console when the client accesses the network for the first time, and sends the encrypted server certificate index and the corresponding server certificate to the client, so that only the encrypted server certificate index is stored in the client, thereby improving the security of the network access authentication process.

[0055] In one embodiment, Figure 4 As shown, the authentication server 104 is also used to send a network access authentication request to the client 102 after determining the target server certificate. The client 102 is also used to send a handshake request to the authentication server 104 after receiving the network access authentication request. The authentication server 104 is also used to send the target server certificate to the client 102 after receiving the handshake request. The client 102 is also used to verify the target server certificate based on the verification server certificate stored in the client 102, obtain a verification result, and access the network through the authentication server 104 when the verification result is a passing result, wherein the verification server certificate is a server certificate downloaded by the client 102 through the management console 106.

[0056] In the embodiment of the present application, after the authentication server 104 matches the target server certificate, it needs to start the network access authentication between the client 102 and the authentication server 104 by sending a network access authentication request to the client 102. The network access authentication request will stipulate the protocol for network access authentication between the authentication server 104 and the client 102, which is the EAP-TLS protocol in the embodiment of the present application. After receiving the network access authentication request, the client 102 sends a handshake request (Client Hello) to the authentication server 104. After receiving the handshake request, the authentication server 104 can return a response message Server Hello to the handshake request to the client 102, and return the target server certificate to the client 102 in the response message. The client 102 uses the server certificate (verify server certificate) downloaded from the management console 106 and fixed in the client 102 to verify the server certificate. If the verification server certificate matches the server certificate, it can be considered that the authentication server 104 has passed the verification of the client 102, and the client 102 can then continue the subsequent authentication interaction process in the 802.1X protocol with the authentication server 104, including the authentication server 104 sending a session key to the client 102, the client 102 using the session key to send a message to the authentication server 104, and the authentication server 104 sending an authentication success message (EAP Success) to the client 102 after receiving the message, and instructing the network access control device to put the network port in the authentication pass state, so that the client 102 can access the network through the network port. If the verification server certificate and the server certificate do not match, the client 102 can actively disconnect the subsequent authentication process and no longer access the network through the authentication server 104.

[0057] The embodiment of the present application provides a system that supports multiple server certificates for the EAP-TLS protocol, so that the authentication server sends a target server certificate that matches the server certificate index to the client, so that the client and the authentication server can perform network access authentication by comparing whether the target server certificates are consistent. When the authentication server certificate is updated, the client does not need to synchronously update the certificate stored in the client, and the old certificate can also be used for network access authentication.

[0058] In one embodiment, Figure 5 As shown, a method for supporting multiple server certificates for the EAP-TLS protocol is provided. The embodiment of the present application applies the method to Figure 1 The client 102 in the embodiment of the present invention is described as follows, including the following steps:

[0059] Step 502: Send the server certificate index to the authentication server, so that the authentication server determines the target server certificate from the server certificates stored in the authentication server based on the server certificate index.

[0060] Step 504, receiving the target server certificate sent by the authentication server, and verifying the target server certificate based on the verification server certificate stored in the client to obtain a verification result, and accessing the network through the authentication server if the verification result is a pass result.

[0061] In the embodiment of the present application, the client stores a server certificate index and a server certificate. When the client needs to access the network, the client sends a network access request to the authentication server through the network access control device, so that the authentication server returns an identity authentication request message to the client requiring the client to send its own identity information. After receiving the identity authentication request message, the client can send an identity authentication response message to the authentication server, which contains the server certificate index stored in the client, so that the authentication server uses the server certificate index to match the target server certificate, and sends the target server certificate to the client, so that the client can determine the verification result for the authentication server by comparing the verification server certificate stored by itself and the target server certificate, and perform the subsequent network access authentication process if the verification passes. Among them, the interaction between the client and the authentication server and the specific operations performed by the client and the authentication server can be found in the aforementioned embodiment, and the embodiment of the present application will not be repeated here.

[0062] The method for supporting multiple server certificates for the EAP-TLS protocol provided in the embodiment of the present application enables the authentication server to store multiple versions of server certificates at the same time, and enables the client to use the server certificate index for identity authentication. After receiving the server certificate index, the authentication server uses the server certificate index to match the target server certificate from each server certificate, and uses the target server certificate and the client for subsequent network access authentication. By storing multiple server certificates in the authentication server, the client does not need to synchronously update the certificate stored in the client when the authentication server certificate is updated, and the network access authentication can also be performed using the old certificate.

[0063] In one embodiment, Figure 6 As shown, a method for supporting multiple server certificates for the EAP-TLS protocol is provided. The embodiment of the present application applies the method to Figure 1 The authentication server 104 in FIG. 1 is described as follows, including the following steps:

[0064] Step 602: Receive the server certificate index sent by the client.

[0065] Step 604: Based on the server certificate index, determine the target server certificate from the server certificates stored in the authentication server, and perform network access authentication for the client based on the target server certificate.

[0066] In an embodiment of the present application, during the process of network access authentication with a client, the authentication server can match the target server certificate from all the server certificates stored in itself through the server certificate index when receiving the server certificate index sent by the client. The authentication server can then send the target server certificate to the client so that the client can verify the authentication server through the target server certificate. The authentication server can also require the client to send its own client certificate to the authentication server to determine the verification result for the client by comparing the client certificate sent by the client with the client certificate stored in the network, and continue the subsequent network access authentication process when the client verification passes and a message is received from the client indicating that the verification result of the client for the authentication server has also passed. Among them, the interaction between the client and the authentication server and the specific operations performed by the client and the authentication server can be found in the aforementioned embodiments, and the embodiments of the present application will not be repeated here.

[0067] The method for supporting multiple server certificates for the EAP-TLS protocol provided in the embodiment of the present application enables the authentication server to store multiple versions of server certificates at the same time, and enables the client to use the server certificate index for identity authentication. After receiving the server certificate index, the authentication server uses the server certificate index to match the target server certificate from each server certificate, and uses the target server certificate and the client for subsequent network access authentication. By storing multiple server certificates in the authentication server, the client does not need to synchronously update the certificate stored in the client when the authentication server certificate is updated, and the network access authentication can also be performed using the old certificate.

[0068] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0069] Based on the same inventive concept, the embodiment of the present application also provides a device for supporting multiple certificates on the server side of the EAP-TLS protocol for implementing the method for supporting multiple certificates on the server side of the EAP-TLS protocol. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the embodiments of one or more devices for supporting multiple certificates on the server side of the EAP-TLS protocol provided below can refer to the limitations of the method for supporting multiple certificates on the server side of the EAP-TLS protocol above, and will not be repeated here.

[0070] In one embodiment, Figure 7 As shown, a device 700 for supporting multiple server certificates for the EAP-TLS protocol is provided, including: a determination module 702 and a receiving module 704, wherein:

[0071] The determination module 702 is used to send a server certificate index to the authentication server, so that the authentication server determines a target server certificate from each server certificate stored in the authentication server based on the server certificate index;

[0072] The receiving module 704 is used to receive the target server certificate sent by the authentication server, and verify the target server certificate based on the verification server certificate stored in the client to obtain a verification result, and access the network through the authentication server when the verification result is a passing result.

[0073] The embodiment of the present application provides a device for supporting multiple server certificates for the EAP-TLS protocol, so that multiple versions of server certificates are stored in the authentication server at the same time, and the client uses the server certificate index for identity authentication. After receiving the server certificate index, the authentication server uses the server certificate index to match the target server certificate from each server certificate, and uses the target server certificate and the client for subsequent network access authentication. By storing multiple server certificates in the authentication server, the client does not need to synchronously update the certificate stored in the client when the authentication server certificate is updated, and the network access authentication can also be performed using the old certificate.

[0074] In one embodiment, Figure 8 As shown, a device 800 for supporting multiple server certificates for the EAP-TLS protocol is provided, comprising: a receiving module 802 and a determining module 804, wherein:

[0075] Receiving module 802, used to receive the server certificate index sent by the client;

[0076] The determination module 804 is used to determine a target server certificate from the server certificates stored in the authentication server based on the server certificate index, and perform network access authentication for the client based on the target server certificate.

[0077] The embodiment of the present application provides a device for supporting multiple server certificates for the EAP-TLS protocol, so that multiple versions of server certificates are stored in the authentication server at the same time, and the client uses the server certificate index for identity authentication. After receiving the server certificate index, the authentication server uses the server certificate index to match the target server certificate from each server certificate, and uses the target server certificate and the client for subsequent network access authentication. By storing multiple server certificates in the authentication server, the client does not need to synchronously update the certificate stored in the client when the authentication server certificate is updated, and the network access authentication can also be performed using the old certificate.

[0078] Each module in the above device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module above.

[0079] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Fig. 9 As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for supporting multiple server certificates for the EAP-TLS protocol is implemented.

[0080] Those skilled in the art will understand that Fig. 9 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0081] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.

[0082] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0083] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0084] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.

[0085] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0086] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0087] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A system for supporting multiple server certificates for the EAP-TLS protocol. It is characterized in that The system includes a client and an authentication server, wherein the authentication server stores multiple versions of server certificates, and the server certificates have corresponding expiration times, wherein: The authentication server is configured to delete any of the server certificates if, within the expiration time of the server certificate, no server certificate index corresponding to the server certificate sent by any client is received; The client is used to send a server certificate index to the authentication server; The authentication server is also used to send a server certificate update message to the client when there is no target server certificate matching the server certificate index in each of the server certificates, and the server certificate update message is used to instruct the client to update the server certificate stored in the client; when there is a target server certificate matching the server certificate index in each of the server certificates, network access authentication is performed for the client based on the target server certificate.

2. The system according to claim 1, It is characterized in that The server certificate index is encrypted based on the original server certificate index; The authentication server is also used to decrypt the server certificate index to obtain the original server certificate index, and based on the original server certificate index, match the target server certificate from the server certificates stored in the authentication server.

3. The system according to claim 2, It is characterized in that The system also includes a management console, which is used to generate the server certificate and the original server certificate index, and send the server certificate and the original server certificate index to the authentication server.

4. The system according to claim 3, It is characterized in that The client is further configured to send a server certificate download request to the management console when the client accesses the network for the first time through the authentication server; The management console is further used to encrypt the original server certificate index in response to the server certificate download request to obtain the server certificate index, and send the server certificate and the server certificate index to the client.

5. The system according to claim 4, It is characterized in that The authentication server is further configured to send a network access authentication request to the client after determining the target server certificate; The client is further configured to send a handshake request to the authentication server after receiving the network access authentication request; The authentication server is further configured to send the target server certificate to the client after receiving the handshake request; The client is also used to verify the target server certificate based on the verification server certificate stored in the client, obtain a verification result, and access the network through the authentication server if the verification result is a pass result, wherein the verification server certificate is a server certificate downloaded by the client through the management console.

6. A method for supporting multiple server certificates for the EAP-TLS protocol. It is characterized in that Applied to a client, the method comprises: Sending a server certificate index to an authentication server, so that the authentication server determines a target server certificate from server certificates stored in the authentication server based on the server certificate index; Receive the target server certificate sent by the authentication server, and verify the target server certificate based on the verification server certificate stored in the client to obtain a verification result, and access the network through the authentication server if the verification result is a passing result; A server certificate update message sent by the authentication server is received, and the server certificate stored in the client is updated. The server certificate update message is sent by the authentication server when there is no target server certificate matching the server certificate index in each of the server certificates.

7. A method for supporting multiple server certificates for the EAP-TLS protocol. It is characterized in that Applied to an authentication server, the authentication server stores multiple versions of server certificates, the server certificates have corresponding expiration times, and the method includes: For any of the server certificates, if no server certificate index corresponding to the server certificate sent by any client is received within the expiration time of the server certificate, deleting the server certificate; Receive the server certificate index sent by the client; In the case that there is no target server certificate matching the server certificate index in each of the server certificates, a server certificate update message is sent to the client, and the server certificate update message is used to instruct the client to update the server certificate stored in the client; in the case that there is a target server certificate matching the server certificate index in each of the server certificates, network access authentication is performed for the client based on the target server certificate.

8. A device for supporting multiple server certificates for the EAP-TLS protocol, It is characterized in that Applied to a client, the device comprises: A determination module, configured to send a server certificate index to an authentication server, so that the authentication server determines a target server certificate from among the server certificates stored in the authentication server based on the server certificate index; A receiving module is used to receive the target server certificate sent by the authentication server, and verify the target server certificate based on the verification server certificate stored in the client to obtain a verification result, and access the network through the authentication server when the verification result is a passing result; the receiving module is also used to receive a server certificate update message sent by the authentication server to update the server certificate stored in the client, and the server certificate update message is sent by the authentication server when there is no target server certificate matching the server certificate index in each of the server certificates.

9. A device for supporting multiple server certificates for the EAP-TLS protocol, It is characterized in that Applied to an authentication server, the authentication server stores multiple versions of server certificates, the server certificates have corresponding expiration times, and the device includes: The receiving module is used to receive the server certificate index sent by the client; A determination module, configured to determine a target server certificate from each server certificate stored in the authentication server based on the server certificate index, and perform network access authentication for the client based on the target server certificate; receive a server certificate update message sent by the authentication server, and update the server certificate stored in the client, wherein the server certificate update message is sent by the authentication server when there is no target server certificate matching the server certificate index in each of the server certificates; The device is also used to delete any of the server certificates if a server certificate index corresponding to the server certificate sent by any client is not received within the expiration time of the server certificate.

10. A computer device comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 6 or 7 are implemented.