SSL certificate uninstallation method, device and system based on soft load balancing
By using a soft load balancing server to unload SSL certificates in bank communications, the problems of difficulty in request parsing and security risks in bank communications are solved, and a highly confidential and secure communication process is achieved.
Patent Information
- Application Number
- CN202211203556.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-29
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2042-09-29
AI Technical Summary
Since general load balancing cannot be used during bank communication, request parsing is difficult and there are security and confidentiality risks.
Using the SSL certificate offloading method based on soft load balancing, the soft load balancing server obtains the decryption key of the target client in the local memory, performs SSL certificate offloading processing, converts the https request to an http request, and sends the http request to the mobile office service system to avoid decryption keys being stored on the target client.
It improves the confidentiality and security of system communication, solves the problem of difficulty in request parsing, ensures the security of decryption keys, and prevents leakage and property losses.
Smart Images

Figure CN115529186B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a SSL certificate unloading method, device and system based on soft load balancing. Background Art
[0002] As banking operations become more and more complex, the communications between bank staff are increasing. At the same time, how to ensure the security and confidentiality of the communication process is particularly important for solving the above problems.
[0003] In the process of implementing the present invention, the inventor found that the prior art has the following defects: At present, Internet applications in banks uniformly use load balancing F5 as the entrance, and use the bank's general certificate for SSL (Secure Socket Layer) unloading. However, according to the requirements of the "1030 Project", the comprehensive mobile office system needs to achieve full-stack innovation and transformation, and F5 load balancing shall not be used. Therefore, there may be risks in the communication process, and the communication process is prone to problems. Summary of the invention
[0004] The present invention provides an SSL certificate unloading method, device and system based on soft load balancing, so as to realize that the decryption key does not need to be stored in the target client, and can improve the confidentiality and security of system communication.
[0005] According to one aspect of the present invention, a method for unloading an SSL certificate based on soft load balancing is provided, wherein the method is executed by a soft load balancing server and includes:
[0006] In response to an https (Hypertext Transfer Protocol Secure) request sent by a target client through a load balancing forwarding server, obtaining a target decryption key corresponding to the target client in a local memory of the soft load balancing server;
[0007] Performing SSL certificate unloading processing on the https request by using the target decryption key to obtain a Hypertext Transfer Protocol (http) request corresponding to the target client;
[0008] The http request is sent to the mobile office service system to control the target client to the mobile office service system in a soft load balancing manner.
[0009] According to another aspect of the present invention, there is provided an SSL certificate unloading device based on soft load balancing, wherein the device is executed by a soft load balancing server and includes:
[0010] A target decryption key acquisition module, used to obtain a target decryption key corresponding to the target client in the local memory of the soft load balancing server in response to an https request sent by the target client through the load balancing forwarding server;
[0011] An http request determination module is used to perform SSL certificate unloading processing on the https request through the target decryption key to obtain an http request corresponding to the target client;
[0012] The http request sending module is used to send the http request to the mobile office service system to control the target client to the mobile office service system in a soft load balancing manner.
[0013] According to another aspect of the present invention, there is provided an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the SSL certificate unloading method based on soft load balancing as described in any embodiment of the present invention when executing the computer program.
[0014] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the SSL certificate unloading method based on soft load balancing described in any embodiment of the present invention when executed.
[0015] According to another aspect of the present invention, there is provided an SSL certificate unloading system based on soft load balancing, wherein the system comprises: a target client, a load balancing forwarding server, a soft load balancing server, and a mobile office service system;
[0016] Wherein, the target client is used to send an https request to the load balancing forwarding server;
[0017] The load balancing forwarding server is used to receive the https request sent by the target client and send the received https request to the soft load balancing server;
[0018] The soft load balancing server is used to execute the secure socket protocol SSL certificate unloading method based on soft load balancing described in any embodiment of the present invention;
[0019] The mobile office service system is used to receive the http request sent by the soft load balancing server, and send the request feedback result to the soft load balancing server.
[0020] The technical solution of the embodiment of the present invention obtains the target decryption key corresponding to the target client in the local memory of the soft load balancing server by responding to the https request sent by the target client through the load balancing forwarding server; performs SSL certificate unloading processing on the https request through the target decryption key to obtain the http request corresponding to the target client; and sends the http request to the mobile office service system to control the target client to the mobile office service system in a soft load balancing manner. Through the above method, the problem of request parsing difficulty caused by the inability to use general load balancing is solved, so that the decryption key does not need to be stored in the target client, which can improve the confidentiality and security of system communication.
[0021] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0023] Figure 1 This is a flow chart of an SSL certificate unloading method based on soft load balancing provided according to Embodiment 1 of the present invention;
[0024] Figure 2 It is a structural diagram of an SSL certificate unloading device based on soft load balancing provided according to Embodiment 2 of the present invention;
[0025] Figure 3 is a schematic diagram of the structure of an electronic device provided according to Embodiment 3 of the present invention;
[0026] Figure 4 It is a structural diagram of an SSL certificate unloading system based on soft load balancing for implementing the fifth embodiment of the present invention. DETAILED DESCRIPTION
[0027] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0028] It should be noted that the terms "target", "current", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0029] Embodiment 1
[0030] Figure 1 A flowchart of an SSL certificate unloading method based on soft load balancing is provided for Embodiment 1 of the present invention. This embodiment is applicable to situations where request parsing is difficult due to the inability to use general load balancing. The method can be executed by an SSL certificate unloading device based on soft load balancing, and the SSL certificate unloading device based on soft load balancing can be implemented in the form of hardware and / or software.
[0031] Correspondingly, such as Figure 1 As shown, the method includes:
[0032] S110. In response to an https request sent by a target client through a load balancing forwarding server, a target decryption key corresponding to the target client is obtained from a local memory of the soft load balancing server.
[0033] The load balancing forwarding server may be located between the target client and the soft load balancing server, and may receive the https request sent by the target client, and may send the received https request to the soft load balancing server. Specifically, the main function of the load balancing forwarding server is to forward the https request.
[0034] A soft load balancing server can be a server that can perform functions such as traffic control, reverse proxy, and customized requests.
[0035] In addition, the load balancing forwarding server and the soft load balancing server constitute a seven-layer gap-nginx server.
[0036] The target decryption key can be a dedicated key corresponding to each target client, which can perform parsing processing of https requests.
[0037] Among them, the https request can be a login https request, a download https request, an upload https request, etc., which is not specifically limited here.
[0038] In this embodiment, assuming that the target client wants to send an https request, the https request of the target client can be sent to the load balancing forwarding server. Further, when the load balancing forwarding server receives the https request, since the mobile office service system cannot parse the https request, it is necessary to obtain the target decryption key corresponding to the target client in the local memory of the soft load balancing server.
[0039] S120. Perform SSL certificate unloading processing on the https request using the target decryption key to obtain an http request corresponding to the target client.
[0040] Among them, SSL is a security protocol implemented on the transmission communication protocol (Transmission Control Protocol / Internet Protocol) and uses public key technology. SSL widely supports various types of networks and provides three basic security services, all of which use public key technology. SSL can achieve the functions of information confidentiality, information integrity, two-way authentication and security services.
[0041] In this embodiment, when the target decryption key is obtained in the local memory of the soft load balancing server, the obtained target decryption key is used to perform SSL certificate unloading processing on the https request, so that the https request can be converted into an http request. Since the mobile office service system can parse the http request, the correct communication information can be sent, which can ensure the reliability of communication.
[0042] S130: Send the http request to the mobile office service system to control the target client to the mobile office service system in a soft load balancing manner.
[0043] The mobile office service system may be a system capable of parsing http requests.
[0044] Specifically, the mobile office service system may include a mobile office front-end service system and a mobile office back-end service system, which can receive and forward http requests, and can send request feedback results in the mobile office back-end service system.
[0045] Optionally, it also includes: in response to the decryption key acquisition request of the soft load balancing server, obtaining each decryption key currently stored in the unified encryption platform, and storing each acquired decryption key in the local memory; wherein, each decryption key stored in the unified encryption platform is reported in advance by each client to the unified encryption platform.
[0046] The unified encryption platform may be a platform capable of temporarily storing decryption keys, and may be capable of performing interactive operations of sending and receiving decryption keys with the soft load balancing server.
[0047] In this embodiment, when the soft load balancing server completes the update or restarts, the soft load balancing server can send a decryption key acquisition request. When the unified encryption platform receives the decryption key acquisition request from the soft load balancing server, the unified encryption platform sends the decryption key to the soft load balancing server. After the soft load balancing server completes the update or restarts, it can perform multiple operations to obtain the decryption key from the unified encryption platform.
[0048] The advantage of this setting is that by sending the decryption key to the soft load balancing server for temporary storage, the decryption key is avoided from being processed on the ground, thereby improving the security of the decryption key and preventing the loss of property caused by the leakage of the decryption key.
[0049] Optionally, the method further includes: in response to a shutdown instruction of the soft load balancing server, clearing each of the decryption keys currently stored in the local memory.
[0050] In this embodiment, when the soft load balancing server executes a shutdown command, the decryption keys currently stored in the local memory are cleared, thereby avoiding unsafe accidents caused by the lack of decryption key backup or theft during the shutdown of the soft load balancing server.
[0051] Optionally, after sending the http request to the mobile office service system, the method further includes: responding to a request feedback result of the mobile office service system, sending the request feedback result to the target client via the load balancing forwarding server.
[0052] The request feedback result may be a feedback result generated after the mobile office service system receives the http request, and the request feedback result may be fed back to the soft load balancing server, the load balancing forwarding server, and the target client. It is understandable that after the load balancing forwarding server receives the http request, it forwards the http request to the target client.
[0053] Optionally, the soft load balancing server is a gap-nginx-based server.
[0054] Specifically, the gap-nginx server is a soft load balancing server that can provide functions such as load balancing, reverse proxy, and certificate unloading.
[0055] The technical solution of the embodiment of the present invention obtains the target decryption key corresponding to the target client in the local memory of the soft load balancing server by responding to the https request sent by the target client through the load balancing forwarding server; performs SSL certificate unloading processing on the https request through the target decryption key to obtain the http request corresponding to the target client; and sends the http request to the mobile office service system to control the target client to the mobile office service system in a soft load balancing manner. Through the above method, the problem of request parsing difficulty caused by the inability to use general load balancing is solved, so that the decryption key does not need to be stored in the target client, which can improve the confidentiality and security of system communication.
[0056] Embodiment 2
[0057] Figure 2 The structural diagram of an SSL certificate unloading device based on soft load balancing provided in the second embodiment of the present invention. The SSL certificate unloading device based on soft load balancing provided in this embodiment can be implemented by software and / or hardware, and can be configured in a server to implement an SSL certificate unloading method based on soft load balancing in the embodiment of the present invention. Figure 2 As shown, the device includes: a target decryption key acquisition module 210, an http request determination module 220 and an http request sending module 230.
[0058] The target decryption key acquisition module 210 is used to obtain the target decryption key corresponding to the target client in the local memory of the soft load balancing server in response to the https request sent by the target client through the load balancing forwarding server;
[0059] The http request determination module 220 is used to perform SSL certificate unloading processing on the https request by using the target decryption key to obtain an http request corresponding to the target client;
[0060] The http request sending module 230 is used to send the http request to the mobile office service system to control the target client to the mobile office service system in a soft load balancing manner.
[0061] The technical solution of the embodiment of the present invention obtains the target decryption key corresponding to the target client in the local memory of the soft load balancing server by responding to the https request sent by the target client through the load balancing forwarding server; performs SSL certificate unloading processing on the https request through the target decryption key to obtain the http request corresponding to the target client; and sends the http request to the mobile office service system to control the target client to the mobile office service system in a soft load balancing manner. Through the above method, the problem of request parsing difficulty caused by the inability to use general load balancing is solved, so that the decryption key does not need to be stored in the target client, which can improve the confidentiality and security of system communication.
[0062] Optionally, it also includes a decryption key storage module, which can be specifically used to: respond to the decryption key acquisition request of the soft load balancing server, obtain the decryption keys currently saved by the unified encryption platform, and store the obtained decryption keys in the local memory; wherein, the decryption keys stored in the unified encryption platform are reported in advance by each client to the unified encryption platform.
[0063] Optionally, it also includes a decryption key clearing module, which can be specifically used to: respond to the soft load balancing server shutdown instruction, clear the decryption keys currently stored in the local memory.
[0064] Optionally, it also includes a request feedback result sending module, which can be specifically used to: after sending the http request to the mobile office service system, in response to the request feedback result of the mobile office service system, send the request feedback result to the target client via the load balancing forwarding server.
[0065] Optionally, it can also be specifically used for: the soft load balancing server is a gap-nginx-based server.
[0066] The Secure Sockets Protocol SSL certificate unloading device based on soft load balancing provided in the embodiment of the present invention can execute the Secure Sockets Protocol SSL certificate unloading method based on soft load balancing provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0067] Embodiment 3
[0068] Figure 3A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0069] like Figure 3 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0070] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0071] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the SSL certificate unloading method based on soft load balancing.
[0072] The method comprises: in response to an https request sent by a target client via a load balancing forwarding server, obtaining a target decryption key corresponding to the target client in the local memory of the soft load balancing server; performing SSL certificate unloading processing on the https request via the target decryption key to obtain an http request corresponding to the target client; and sending the http request to a mobile office service system to control the target client to the mobile office service system in a soft load balancing manner.
[0073] In some embodiments, the SSL certificate unloading method based on soft load balancing can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the SSL certificate unloading method based on soft load balancing described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to execute the SSL certificate unloading method based on soft load balancing in any other appropriate manner (for example, by means of firmware).
[0074] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0075] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0076] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0077] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0078] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0079] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0080] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0081] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
[0082] Embodiment 4
[0083] Embodiment 4 of the present invention also provides a computer-readable storage medium, wherein the computer-readable instructions are used to execute an SSL certificate unloading method based on soft load balancing when executed by a computer processor, the method comprising: in response to an https request sent by a target client through a load balancing forwarding server, obtaining a target decryption key corresponding to the target client in the local memory of the soft load balancing server; performing SSL certificate unloading processing on the https request through the target decryption key to obtain an http request corresponding to the target client; and sending the http request to a mobile office service system to control the target client to the mobile office service system in a soft load balancing manner.
[0084] Of course, the computer-readable storage medium provided in an embodiment of the present invention has computer executable instructions that are not limited to the method operations described above, and can also execute related operations in the SSL certificate unloading method based on soft load balancing provided in any embodiment of the present invention.
[0085] Through the above description of the implementation methods, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, a read-only memory (ROM), a random access memory (RAM), a flash memory (FLASH), a hard disk or an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0086] It is worth noting that in the above-mentioned embodiment of the SSL certificate unloading device based on soft load balancing, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific name of each functional unit is only for the convenience of distinguishing each other, and is not used to limit the scope of protection of the present invention.
[0087] Embodiment 5
[0088] Figure 4 4 is a structural diagram of an SSL certificate unloading system based on soft load balancing provided in Embodiment 5 of the present invention, wherein the SSL certificate unloading system based on soft load balancing includes a target client 410, a load balancing forwarding server 420, a soft load balancing server (the soft load balancing server is a gap-nginx-based server 430), and a mobile office service system 440;
[0089] Wherein, the target client 410 is used to send an https request to the load balancing forwarding server 420;
[0090] The load balancing forwarding server 420 is used to receive the https request sent by the target client 410, and send the received https request to the soft load balancing server;
[0091] The soft load balancing server is used to execute the SSL certificate unloading method based on soft load balancing described in the present invention; wherein the soft load balancing server is a gap-nginx-based server 430;
[0092] The mobile office service system 440 is used to receive the http request sent by the soft load balancing server, and send the request feedback result to the soft load balancing server.
[0093] Optionally, the system further includes: a unified encryption platform 450;
[0094] The unified encryption platform 450 is used to receive the decryption key acquisition request of the soft load balancing server, and send the decryption keys currently stored in the unified encryption platform 450 to the local memory.
[0095] The technical solution provided by the embodiment of the present invention obtains the target decryption key corresponding to the target client in the local memory of the soft load balancing server by responding to the https request sent by the target client through the load balancing forwarding server; performs SSL certificate unloading processing on the https request through the target decryption key to obtain the http request corresponding to the target client; and sends the http request to the mobile office service system to control the target client to the mobile office service system in a soft load balancing manner. Through the above method, the problem of request parsing difficulty caused by the inability to use general load balancing is solved, so that the decryption key does not need to be stored in the target client, which can improve the confidentiality and security of system communication.
[0096] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for uninstalling a secure socket protocol (SSL) certificate based on soft load balancing. It is characterized in that Executed by the soft load balancing server, including: In response to a hypertext transfer security protocol https request sent by a target client through a load balancing forwarding server, a target decryption key corresponding to the target client is obtained in the local memory of the soft load balancing server, wherein the soft load balancing server is a server capable of flow control, reverse proxy, and custom request functions; Performing SSL certificate unloading processing on the https request by using the target decryption key to obtain a hypertext transfer protocol http request corresponding to the target client, wherein the target decryption key is a dedicated key corresponding to each of the target clients, and the target decryption key is used for parsing the https request; Sending the http request to the mobile office service system to control the target client to the mobile office service system in a soft load balancing manner; In response to the decryption key acquisition request of the soft load balancing server, the decryption keys currently stored in the unified encryption platform are acquired, and the acquired decryption keys are stored in the local memory; The decryption keys stored in the unified encryption platform are reported to the unified encryption platform by the clients in advance, and the decryption key acquisition request refers to the operation of obtaining the decryption key from the unified encryption platform multiple times after the soft load balancing server completes the update or restarts; In response to the soft load balancing server shutdown instruction, each of the decryption keys currently stored in the local memory is cleared.
2. The method according to claim 1, It is characterized in that After sending the http request to the mobile office service system, the method further includes: In response to the request feedback result of the mobile office service system, the request feedback result is sent to the target client via the load balancing forwarding server.
3. The method according to any one of claims 1 to 2, It is characterized in that The soft load balancing server is a gap-nginx based server.
4. An SSL certificate unloading device based on soft load balancing, It is characterized in that Executed by the soft load balancing server, including: A target decryption key acquisition module is used to obtain a target decryption key corresponding to the target client in the local memory of the soft load balancing server in response to a hypertext transfer security protocol https request sent by the target client through the load balancing forwarding server, wherein the soft load balancing server is a server capable of flow control, reverse proxy, and custom request functions; An http request determination module, used to perform SSL certificate unloading processing on the https request through the target decryption key to obtain a hypertext transfer protocol http request corresponding to the target client, wherein the target decryption key is a dedicated key corresponding to each of the target clients, and the target decryption key is used to perform parsing processing on the https request; An http request sending module is used to send the http request to the mobile office service system to control the target client to the mobile office service system in a soft load balancing manner; The decryption key storage module is configured to: In response to the decryption key acquisition request of the soft load balancing server, the decryption keys currently stored in the unified encryption platform are acquired, and the acquired decryption keys are stored in the local memory; The decryption keys stored in the unified encryption platform are reported to the unified encryption platform by the clients in advance, and the decryption key acquisition request refers to the operation of obtaining the decryption key from the unified encryption platform multiple times after the soft load balancing server completes the update or restarts; The decryption key clearing module is configured to: In response to the soft load balancing server shutdown instruction, each of the decryption keys currently stored in the local memory is cleared.
5. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the soft load balancing-based SSL certificate unloading method as described in any one of claims 1 to 3 is implemented.
6. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the SSL certificate unloading method based on soft load balancing as described in any one of claims 1-3 when executed.
7. An SSL certificate unloading system based on soft load balancing, It is characterized in that The system includes: a target client, a load balancing forwarding server, a soft load balancing server, and a mobile office service system; Wherein, the target client is used to send an https request to the load balancing forwarding server; The load balancing forwarding server is used to receive the https request sent by the target client and send the received https request to the soft load balancing server; The soft load balancing server is used to execute the SSL certificate unloading method based on soft load balancing as described in any one of claims 1 to 3; The mobile office service system is used to receive the http request sent by the soft load balancing server, and send the request feedback result to the soft load balancing server.
8. The system according to claim 7, It is characterized in that The system also includes: a unified encryption platform; The unified encryption platform is used to receive the decryption key acquisition request of the soft load balancing server, and send the decryption keys currently stored in the unified encryption platform to the local memory.
