Equipment certificate distribution method and system, computer equipment and readable storage medium
Through the automated device certificate distribution method, the chip identification and device installation information are used to generate and transmit device certificates, which solves the problems of low efficiency of device certificate distribution and limited application scenarios, and realizes safe and efficient certificate distribution and automatic installation of large-scale equipment .
Patent Information
- Application Number
- CN202411092931.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-08
- Publication Date
- 2024-11-15
AI Technical Summary
In the prior art, the distribution efficiency of equipment certificates is low, manual intervention is required, and it is unable to adapt to large-scale application scenarios. The transmission of certificate keys is limited by the manufacturer's private management system, resulting in limited application scenarios.
By receiving the device certificate application request sent by the business management platform, the DIPK public key information is determined based on the chip identification of the network device to be installed, the device certificate information is generated based on the device installation information and key information, and it is automatically sent to the network device to be installed to complete the installation , realize fully automated secure transmission and distribution.
It improves the efficiency of certificate distribution, realizes the safe and efficient production and automated import of large batches of equipment, avoids the risks of human intervention and certificate leakage, and enhances the identity and network security of the equipment.
Smart Images

Figure CN118972068A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a device certificate distribution method, system, computer device and readable storage medium. Background Art
[0002] As public security video surveillance has become digitalized and networked, more and more network problems have emerged. Especially in the context of large-scale networking, cloud computing, and the popularization and application of new artificial intelligence technologies, the security threats and means faced by video surveillance systems have undergone tremendous changes, and the video surveillance situation has become increasingly severe. In order to solve the problem of video surveillance security, "GB 35114-2017 Technical Requirements for Information Security of Public Security Video Surveillance Networking" stipulates the technical requirements for the security protection of video information and control signaling information in the public security field of video surveillance networking, and provides guidelines for various monitoring equipment and monitoring systems.
[0003] It stipulates the use of digital certificates and digital signatures to encrypt or decrypt the information and data of device network users in computer network communications to ensure the integrity and security of information and data. Therefore, the system and equipment need to exchange certificates and keys to achieve mutual trust.
[0004] In the related art, the device certificate of the device is sent to the device client in an offline manner, and the device client manually imports the device certificate into the corresponding device to complete the installation of the device, resulting in low efficiency in distributing the device certificate. Summary of the invention
[0005] Based on this, it is necessary to provide a device certificate distribution method, system, computer device, computer readable storage medium and computer program product that can improve the efficiency of device certificate distribution in response to the above technical problems.
[0006] In a first aspect, the present application provides a device certificate distribution method, which is applied to a certificate management center, comprising:
[0007] Receive a device certificate application request for a network device to be installed sent by a service management platform, wherein the device certificate application request carries device installation information, a chip identifier, and key information of the network device to be installed; the key information is generated according to the DIPK key pair in the security chip of the network device to be installed;
[0008] Determine the corresponding DIPK public key information according to the chip identification;
[0009] Generate corresponding device certificate information according to the DIPK public key information, the device installation information and the key information;
[0010] The device certificate information is sent to the network device to be installed to complete the installation.
[0011] In one embodiment, generating corresponding device certificate information according to the DIPK public key information, the device installation information and the key information includes:
[0012] Decrypt the DCPK ciphertext in the key information according to the DIPK public key information to obtain the DCPK public key plaintext information;
[0013] Generate device certificate information based on the DCPK public key plaintext information and the device installation information.
[0014] In one embodiment, sending the device certificate information to the network device to be installed to complete the installation includes:
[0015] The device certificate information is sent to the network device to be installed, so that the network device to be installed verifies the device certificate information according to the CARPK public key stored in the security chip. If the verification is successful, the device certificate information is installed in the security chip of the network device to be installed.
[0016] In one of the embodiments, the DCPK ciphertext is obtained by the business management platform controlling the network device to be installed to apply for device certificate information, deriving the certificate public key information DCPK public key based on the DIPK public key stored in the security chip of the network device to be installed, and encrypting the DCPK public key using the DIPK private key.
[0017] In one of the embodiments, the DIPK private key in the DIPK key pair is determined by receiving a distribution request for the device initial key pair sent by a security device production platform and based on a chip identifier of a security chip in the network device to be installed carried in the distribution request.
[0018] In one embodiment, the network device to be installed includes a GB35114 device.
[0019] In a second aspect, the present application provides a device certificate distribution method, which is applied to a security device production platform, including:
[0020] Generate a PCRK key pair for the network device to be installed, and obtain a CARPK key pair for the network device to be installed from a certificate management center;
[0021] Sending a DIPK allocation request to the certificate management center according to the chip identification of the network device to be installed, receiving a response from the certificate management center to the DIPK allocation request, and sending a DIPK private key ciphertext corresponding to the chip identification;
[0022] Decrypting the DIPK private key ciphertext according to the PCRK key pair to obtain DIPK private key information;
[0023] The DIPK private key information and the CARPK public key in the CARPK key pair are burned into the security space of the security chip; the DIPK private key information and the CARPK public key are used to generate device certificate application information for the network device to be installed to complete the distribution of device certificates for the network device to be installed.
[0024] In a third aspect, the present application also provides a device certificate distribution system, the system comprising a security device production platform, a service management platform, a certificate management center, and a network device to be installed, wherein:
[0025] The security device production platform is used to generate a PCRK key pair for the network device to be installed, and obtain a CARPK key pair for the network device to be installed from a certificate management center; send a DIPK allocation request to the certificate management center according to the chip identification of the network device to be installed, receive a response from the certificate management center to the DIPK allocation request, and send a DIPK private key ciphertext corresponding to the chip identification; decrypt the DIPK private key ciphertext according to the PCRK key pair to obtain DIPK private key information; burn the DIPK private key information and the CARPK public key in the CARPK key pair into the security space of the security chip;
[0026] The service management platform is used to send a device certificate application request for the network device to be installed, wherein the device certificate application request carries the device installation information, chip identification and key information of the network device to be installed; the key information is generated according to the DIPK key pair stored in the security chip of the network device to be installed;
[0027] The certificate management center is used to determine the corresponding DIPK public key information according to the chip identification; generate corresponding device certificate information according to the DIPK public key information, the device installation information and the key information; and send the device certificate information to the network device to be installed to complete the installation.
[0028] In a fourth aspect, the present application further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any one of the methods described above when executing the computer program.
[0029] In a fifth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of any one of the methods described above are implemented.
[0030] In a sixth aspect, the present application also provides a computer program product, including a computer program, which implements the steps of any one of the methods described above when executed by a processor.
[0031] The above-mentioned device certificate distribution method, system, computer device, computer-readable storage medium and computer program product receive the device certificate application request of the network device to be installed sent by the business management platform, and the device certificate application request carries the device installation information, chip identification and key information of the network device to be installed; the key information is generated according to the DIPK key pair in the security chip of the network device to be installed; the corresponding DIPK public key information is determined according to the chip identification; the corresponding device certificate information is generated according to the DIPK public key information, the device installation information and the key information; the device certificate information is sent to the network device to be installed to complete the installation. Compared with the existing distribution method, this method does not require manual human intervention in the certificate distribution process, and fully automates the secure transmission of key information and certificate distribution. It can further realize the safe and efficient production and automated import of large quantities of equipment, avoid human intervention and the risk of certificate leakage, and improve the efficiency of certificate distribution. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0033] Figure 1 A system topology diagram of a method for distributing device certificates in an embodiment;
[0034] Figure 2 A schematic diagram of a process of distributing device certificates in one embodiment;
[0035] Figure 3 is a schematic flow chart of step 206 in one embodiment;
[0036] Figure 4 A schematic diagram of a device certificate distribution process in an embodiment;
[0037] Figure 5 It is a flowchart of a method for distributing device certificates in another embodiment;
[0038] Figure 6 A flow chart of device key transmission in one embodiment;
[0039] Figure 7 is a structural block diagram of a device certificate distribution system in one embodiment;
[0040] Figure 8 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0041] 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.
[0042] GB35114: Technical requirements for information security of public security video surveillance networks, which puts forward requirements for user security, equipment security, service security, equipment control security, audio and video integrity, and audio and video security for equipment and services in the field of video surveillance.
[0043] GB35114 front-end equipment: network equipment applicable to GB 35114 protocol, such as cameras, security gateways, etc.
[0044] CMS: (Certificate Management System, Certificate Management Center), a server and software used to issue, query, and manage certificates.
[0045] HSM: (Hardware Security Module), a physically secure key generation and storage device.
[0046] CARPK: (Certificate Authority Root Key Pair, Certificate Center Root Key Pair), user device certificate issuance.
[0047] DIPK: (Device Initial Key Pair) is used for the terminal device and the certificate management center to establish the root of trust for the trusted channel online.
[0048] DCPK: (Device Certificate Key Pair) is the root of trust for trusted data transmission between terminal devices and other business units.
[0049] PCRK: Mass production pre-installed chip platform root key, used for secure encrypted transmission of security information.
[0050] Security equipment manufacturer: responsible for chip production, software integration, etc. of 35114 front-end equipment. In this application, it is mainly responsible for producing security chips for network equipment to be installed.
[0051] Digital certificate: refers to an electronic document issued by a CA organization. It is a string of numbers that can indicate the identity information of a network user. It provides a way to verify the identity of a network user on a computer network. A digital certificate is also called a digital ID. A digital certificate ensures the integrity and security of information and data of network users in computer network communication in the form of encryption or decryption.
[0052] Digital signature: It uses the technology in the field of public key encryption to authenticate digital information. A set of digital signatures usually defines two complementary operations, one for signing and the other for verification. Only the sender of the information can generate a string of numbers that cannot be forged by others. This string of numbers is also an effective proof of the authenticity of the information sent by the sender. In the field of security, this technology can prevent data leakage, data tampering and identity forgery, and ensure the confidentiality, integrity and authenticity of information.
[0053] Identity authentication: also known as "identity verification", refers to the process of confirming the identity of the operator in the computer and computer network system, determining whether the user has the access and use rights to a certain resource, so that the access policy of the computer and network system can be reliably and effectively implemented, preventing attackers from impersonating legitimate users to obtain access rights to resources, ensuring the security of the system and data, and the legitimate interests of authorized visitors. In the monitoring system, identity authentication technology can be used to allow only authenticated devices to access the system to prevent intrusion by illegal users and ensure system security.
[0054] As public security video surveillance has become digitalized and networked, more and more network problems have emerged. Especially in the context of large-scale networking, cloud computing and the popularization and application of new technologies such as artificial intelligence, the security threats and means faced by video surveillance systems have undergone tremendous changes, and the video surveillance situation has become increasingly severe.
[0055] In order to solve the problem of video surveillance security, "GB 35114-2017 Technical Requirements for Information Security of Public Security Video Surveillance Networks" stipulates the technical requirements for the security protection of video information and control signaling information in the public security field of video surveillance networks, and provides guidelines for various monitoring equipment and monitoring systems.
[0056] It stipulates the use of digital certificates and digital signatures to encrypt or decrypt the information and data of device network users in computer network communications to ensure the integrity and security of information and data. Therefore, the system and equipment need to exchange certificates and keys to achieve mutual trust.
[0057] In the related technology, the GB35114 security chip is produced by the security equipment manufacturer and delivered offline to the certificate management center; the certificate management center uses the burning tool to burn the DIPK private key into the GB35114 security chip, and then returns the chip to the security equipment manufacturer. The security equipment manufacturer completes the GB35114 equipment assembly, software integration and other work and then delivers it to the equipment customer; the equipment customer applies to the certificate management center for the GB35114 equipment certificate according to the specific security video surveillance requirements, and the certificate management center generates the equipment certificate according to the equipment information, and delivers the equipment certificate offline / private network to the equipment customer. The equipment customer manually imports the equipment certificate into the corresponding equipment, and GB35114 is installed. This method can only rely on manual offline transmission, which is inefficient and cannot be used in large-scale application scenarios. The key transmission of the manufacturer's authentication certificate can only be limited to the manufacturer's own private certificate management system, and the application scenarios are limited.
[0058] To address the technical problem of low efficiency in device certificate distribution, a device certificate application request for the network device to be installed sent by a business management platform is received, and the device certificate application request carries the device installation information, chip identification and key information of the network device to be installed; the key information is generated based on the DIPK key pair in the security chip of the network device to be installed; the chip identification of the network device to be installed is determined from the device installation information, and the corresponding DIPK public key information is determined based on the chip identification; the corresponding device certificate information is generated based on the DIPK public key information, the device installation information and the key information; the device certificate information is sent to the network device to be installed to complete the installation.
[0059] The device certificate distribution method provided in the embodiment of the present application can be applied to Figure 1 The system topology diagram shown. The system topology diagram includes a certificate management client 102, a security device manufacturer 104, a certificate management center 106, a service management platform 108, and a network device 110 applicable to the GB 35114 protocol. In response to the production instruction, the security device manufacturer applies to the certificate management center for a device CARPK key pair and carries a PCRK public key, and sends the device CARPK key and the PCRK public key to the certificate management center in an offline encrypted and secure transmission manner. The certificate management center saves the PCRK public key and distributes the CARPK key pair and the account password of the certificate management client, and also sends the CARPK public key and the client's account password to the security device manufacturer in an offline encrypted and secure transmission manner. The security device manufacturer saves the received CARPK public key and the client's account password.
[0060] The security device manufacturer installs the certificate management client and logs in with the account password to control the security chip of the device being burned. The security device production platform sends a DIPK allocation request to the certificate management center based on the chip identification of the network device to be installed. The certificate management center responds to the DIPK allocation request, determines the DIPK public and private keys corresponding to the chip identification, and stores the correspondence between the chip identification and the DIPK public and private keys. The DIPK private key is signed with the CARPK private key and encrypted with PCRK and returned to the security device production platform. The security device production platform uses PCRK to decrypt the DIPK private key ciphertext, and obtains the DIPK private key information after using CARPK to verify the signature. The DIPK private key information and the CARPK public key in the CARPK key pair are burned into the security space of the security chip, and the burned security chip is assembled into the corresponding device. The device is assembled and integrated and delivered to the customer at the factory to complete the production.
[0061] The certificate management center receives the device certificate application request for the network device to be installed sent by the business management platform. The device certificate application request carries the device installation information, chip identification and key information of the network device to be installed; the key information is generated according to the DIPK key pair in the security chip of the network device to be installed; the corresponding DIPK public key information is determined according to the chip identification; the corresponding device certificate information is generated according to the DIPK public key information, the device installation information and the key information; the device certificate information is sent to the network device to be installed to complete the installation.
[0062] In an exemplary embodiment, Figure 2 As shown, a device certificate distribution method is provided, which is applied to Figure 1 The certificate management center in FIG. 1 is taken as an example to illustrate, including the following steps 202 to 206. Among them:
[0063] Step 202, receiving a device certificate application request for the network device to be installed sent by the business management platform, the device certificate application request carries the device installation information, chip identification and key information of the network device to be installed; the key information is generated based on the DIPK key pair in the security chip of the network device to be installed.
[0064] Among them, the certificate management center is responsible for managing the certificate key information of GB35114 equipment, which can be the manufacturer's own certificate key information or the public security certificate key information. The business management platform is responsible for connecting customers with the certificate management center and transferring data.
[0065] The network device to be installed can be, but is not limited to, a network device that supports the GB 35114 protocol. The device installation information includes the device identification, installation location information, the unit department to which the device belongs, and other information of the network device to be installed. The DIPK key pair includes a DIPK public key and a DIPK private key. The key information can be derived from the certificate public key information DCPK public key based on the DIPK private key, and the DCPK public key is encrypted using the DIPK private key. The DIPK private key can be determined based on the chip identification of the security chip in the network device to be installed carried in the allocation request when receiving the allocation request for the device initial key pair sent by the security device production platform. The security device production platform can also be called a security device manufacturer.
[0066] Exemplarily, the network device to be installed is connected to the corresponding network environment. When it is monitored that the network device to be installed has been connected to the network environment, the device installation information of the network device to be installed is determined through the business management platform, and the network device to be installed applies for device certificate information through the business management platform, and sends a device certificate application request to the certificate management center. The device certificate application request carries the device installation information, chip identification and key information of the network device to be installed.
[0067] Step 204, determining the corresponding DIPK public key information according to the chip identification.
[0068] It should be noted that there is a unique correspondence between the chip identification and DIPK public key information of each network device to be installed, and the corresponding DIPK public key information can be determined based on the chip identification.
[0069] Step 206, generating corresponding device certificate information according to the DIPK public key information, device installation information and key information.
[0070] Among them, the key information is derived from the certificate public key information DCPK public key based on the DIPK private key, and the DCPK public key is encrypted using the DIPK private key, that is, the key information includes the DCPK ciphertext. The device certificate information can be obtained by decrypting the DCPK ciphertext using the DIPK public key to obtain the DCPK public key plaintext information, which is determined according to the device installation information and the DCPK public key plaintext information.
[0071] Exemplarily, the certificate management center finds the corresponding DIPK public key information based on the chip identifier, and then uses the DIPK public key to decrypt the DCPK ciphertext to obtain the DCPK public key plaintext information; the certificate management center generates the corresponding device certificate information based on the DCPK public key plaintext information and the device installation information, and returns the device certificate information after signing with the CARPK private key.
[0072] Step 208: Send the device certificate information to the network device to be installed to complete the installation.
[0073] Exemplarily, the certificate management center sends the device certificate information to the network device to be installed. After the network device to be installed receives the device certificate information, it is saved into the security chip of the network device to be installed after CARPK public key verification, and the installation of the network device to be installed is completed.
[0074] In the above-mentioned device certificate distribution method, the device certificate application request of the network device to be installed is received from the business management platform, and the device certificate application request carries the device installation information, chip identification and key information of the network device to be installed; the key information is generated according to the DIPK key pair in the security chip of the network device to be installed; the corresponding DIPK public key information is determined according to the chip identification; the corresponding device certificate information is generated according to the DIPK public key information, device installation information and key information; the device certificate information is sent to the network device to be installed to complete the installation. Compared with the existing distribution method, this method does not require manual human intervention in the certificate distribution process. The process fully automates the secure transmission of key information and certificate distribution, and can further realize the safe and efficient production and automated import of large quantities of equipment, avoiding human intervention and the risk of certificate leakage, and improving the efficiency of certificate distribution.
[0075] In an exemplary embodiment, Figure 3 As shown, step 206 includes steps 302 to 304 .
[0076] in:
[0077] Step 302, decrypt the DCPK ciphertext in the key information according to the DIPK public key information to obtain the DCPK public key plaintext information.
[0078] Among them, the DCPK ciphertext is the business management platform controlling the network device to be installed to apply for device certificate information, deriving the certificate public key information DCPK public key based on the DIPK public key stored in the security chip of the network device to be installed, and encrypting the DCPK public key using the DIPK private key.
[0079] The specific method of decrypting the DCPK ciphertext in the key information according to the DIPK public key information can be achieved through existing methods and will not be elaborated here.
[0080] Step 304, generate device certificate information according to the DCPK public key plaintext information and device installation information.
[0081] In the above embodiment, by using the DIPK public key to decrypt the DCPK ciphertext, it is ensured that only devices with the correct DIPK private key can access the DCPK public key, thereby increasing security and ensuring the reliability of the device certificate information.
[0082] In an exemplary embodiment, sending device certificate information to the network device to be installed to complete the installation includes:
[0083] The device certificate information is sent to the network device to be installed, so that the network device to be installed verifies the device certificate information according to the CARPK public key. If the verification is successful, the device certificate information is installed in the security chip of the network device to be installed. In this way, the installation and verification process of the device certificate not only ensures the identity of the device and the security of the network, but also ensures the security management of the network device and the normal subsequent communication.
[0084] In an exemplary embodiment, the network device to be installed includes a GB35114 device.
[0085] Optionally, in an exemplary embodiment, a device certificate distribution process is provided, such as Figure 4 As shown, it includes a certificate management center, GB35114 front-end equipment and a business management platform, and the network equipment to be installed is the GB35114 front-end equipment.
[0086] In response to the installation instruction triggered by the user terminal interface, the instruction can be generated by the customer logging into the business client and triggering the installation component, start the installation operation, determine the device installation information of the GB35114 front-end device and the device information of the network device to be installed, connect the GB35114 front-end device, control the device to apply for certificate information, and the GB35114 front-end device derives the certificate public key information DCPK public key based on the DIPK public key stored in the security chip, and uses the DIPK private key to encrypt the DCPK public key to obtain the DCPK ciphertext, that is, the ciphertext information, and attach the device information. The device installation information, chip identification and key information are verified and forwarded to the certificate management center via the business management platform.
[0087] The certificate management center decrypts the DCPK public key ciphertext in the key information based on the DIPK public key information to obtain the DCPK public key plaintext information; generates device certificate information based on the DCPK public key plaintext information and device installation information, and returns it to the business management center after signing with the CARPK private key. The business management center verifies / forwards it to the GB35114 front-end device, and the GB35114 front-end device verifies the device certificate information based on the CARPK public key. If the verification is successful, the device certificate information is installed in the security chip of the network device to be installed. Compared with the existing method, this method does not require manual human intervention in the certificate distribution process, and fully automates the secure transmission of key information and certificate distribution. It can further realize the safe and efficient production and automated import of large quantities of equipment, avoid human intervention and the risk of certificate leakage, and improve the efficiency of certificate distribution.
[0088] In another exemplary embodiment, Figure 5 As shown, a device certificate distribution method is provided, which is applied to Figure 1 The safety device production platform in the example is used to illustrate, including the following steps 502 to 508. Among them:
[0089] Step 502: Generate a PCRK key pair for the network device to be installed, and obtain a CARPK key pair for the network device to be installed from a certificate management center.
[0090] It should be noted that the security device production platform can generate PCRK key pairs for security chips in batches, and each security chip is installed in the corresponding network device. The certificate management center generates the CARPK key pair for the security device production platform and the certificate management client account password, and the security device production platform generates the device batch production key pair PCRK. The security device production platform exchanges information with the certificate management center, that is, the security device production platform sends the generated key pair PCRK to the certificate management center, and the certificate management center sends the generated CARPK key pair to the security device production platform.
[0091] Exemplarily, the security device production platform generates PCRK key pairs for the network devices to be installed in batches, and obtains the CARPK key pairs for each network device to be installed from the certificate management center. It is understandable that
[0092] Step 504, according to the chip identification of the network device to be installed, a DIPK allocation request is sent to the certificate management center, and the certificate management center responds to the DIPK allocation request and sends a DIPK private key ciphertext corresponding to the chip identification.
[0093] Exemplarily, based on monitoring that the security device production platform has control authority, the security chip production line is controlled to batch burn the root key and root certificate information of the network device to be installed, that is, the security device production platform sends a DIPK allocation request to the certificate management center according to the chip identification of the network device to be installed. The certificate management center responds to the DIPK allocation request, determines the DIPK public and private keys corresponding to the chip identification, and stores the corresponding relationship between the chip identification and the DIPK public and private keys. The DIPK private key is signed with the CARPK private key and encrypted with PCRK and then returned to the security device production platform. Among them, the security device production platform having control authority can be understood as the security device production platform installing the certificate management client and then logging in with the account password. The certificate management client can be responsible for connecting the security device manufacturer and the certificate management center to transfer data.
[0094] Step 506, decrypt the DIPK private key ciphertext according to the PCRK key pair to obtain the DIPK private key information.
[0095] Exemplarily, the security device production platform uses PCRK to decrypt the DIPK private key ciphertext, and uses CARPK to verify the signature to obtain the DIPK private key information.
[0096] Step 508, burn the DIPK private key information and the CARPK public key in the CARPK key pair into the security space of the security chip; the DIPK private key information and the CARPK public key are used to generate device certificate application information for the network device to be installed to complete the distribution of device certificates for the network device to be installed.
[0097] In an exemplary embodiment, a device key transmission process is provided, such as Figure 6As shown, it includes a certificate management center, a certificate management client and a security device manufacturer, namely, a security device production platform. In response to the production instruction, the security device production platform applies to the certificate management center for a device CARPK key pair and carries a PCRK public key, and sends the device CARPK key and the PCRK public key to the certificate management center in an offline encrypted and secure transmission manner. The certificate management center saves the PCRK public key and distributes the CARPK key pair and the account password of the certificate management client, and also sends the CARPK public key and the account password of the client to the security device manufacturer in an offline encrypted and secure transmission manner. The security device manufacturer saves the received CARPK public key and the account password of the client. The security device manufacturer installs the certificate management client, and after logging in with the account password, controls the burning of the security chip of the device. The security device production platform controls the burning of the security chip according to the device to be installed. The chip identification of the network device sends a DIPK allocation request to the certificate management center. The certificate management center responds to the DIPK allocation request, determines the DIPK public and private keys corresponding to the chip identification, and stores the correspondence between the chip identification and the DIPK public and private keys. The DIPK private key is signed with the CARPK private key and encrypted with PCRK and returned to the security device production platform. The security device production platform uses PCRK to decrypt the DIPK private key ciphertext, and obtains the DIPK private key information after using CARPK to verify the signature. The DIPK private key information and the CARPK public key in the CARPK key pair are burned into the security space of the security chip, and the burned security chip is assembled into the corresponding device. The device is assembled and integrated and delivered to the customer at the factory to complete the production.
[0098] The above-mentioned device certificate distribution method generates a PCRK key pair for the network device to be installed, and obtains the CARPK key pair for the network device to be installed from the certificate management center; sends a DIPK allocation request to the certificate management center according to the chip identification of the network device to be installed, receives the certificate management center's response to the DIPK allocation request, and sends the DIPK private key ciphertext corresponding to the chip identification; decrypts the DIPK private key ciphertext according to the PCRK key pair to obtain the DIPK private key information; burns the DIPK private key information and the CARPK public key in the CARPK key pair into the security space of the security chip; the DIPK private key information and the CARPK public key are used to generate device certificate application information for the network device to be installed, so as to complete the device certificate distribution of the network device to be installed. This method proposes that the certificate management center uniformly maintains a set of certificate and secret key systems, and only needs to synchronize certificate information with other terminals, without worrying about the device usage scenario being limited due to manufacturer problems. Different from the existing manual intervention in the security chip key burning and certificate distribution process, the process fully automates the secure transmission of key information and certificate distribution, which can realize the safe and efficient production and automatic import of large quantities of equipment, and avoids the risk of human intervention and certificate leakage.
[0099] 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.
[0100] Based on the same inventive concept, the embodiment of the present application also provides a device certificate distribution system for implementing the device certificate distribution method involved above. The implementation scheme for solving the problem provided by the system is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more device certificate distribution system embodiments provided below can refer to the limitations on the device certificate distribution method above, and will not be repeated here.
[0101] In an exemplary embodiment, Figure 7 As shown, a device certificate distribution system is provided, which includes a security device production platform, a business management platform, a certificate management center, and a network device to be installed, wherein:
[0102] A security device production platform is used to generate a PCRK key pair for a network device to be installed, and to obtain a CARPK key pair for the network device to be installed from a certificate management center; according to the chip identification of the network device to be installed, a DIPK allocation request is sent to the certificate management center, and the certificate management center responds to the DIPK allocation request and sends a DIPK private key ciphertext corresponding to the chip identification; according to the PCRK key pair, the DIPK private key ciphertext is decrypted to obtain the DIPK private key information; and the DIPK private key information and the CARPK public key in the CARPK key pair are burned into the security space of the security chip;
[0103] The service management platform is used to send a device certificate application request for the network device to be installed, the device certificate application request carries the device installation information, chip identification and key information of the network device to be installed; the key information is generated according to the DIPK key pair in the security chip of the network device to be installed;
[0104] The certificate management center is used to determine the corresponding DIPK public key information based on the chip identification; generate the corresponding device certificate information based on the DIPK public key information, device installation information and key information; and send the device certificate information to the network device to be installed to complete the installation.
[0105] In the above-mentioned device certificate distribution system, the security device manufacturer is responsible for writing the DIPK private key and CARPK public key assigned to the device into the device security space, the business platform is responsible for controlling the device to generate the device certificate and transmit the device information and certificate information, the device is responsible for generating the device certificate application information through the DIPK private key and CARPK public key, the certificate management center verifies the application information of the network device to be installed according to the device DIPK public key and generates the corresponding device certificate, and the network device to be installed verifies and stores the device certificate information through the CARPK public key. With this certificate management center, a set of certificates and secret keys are uniformly maintained. It only needs to synchronize the certificate information with the manufacturer and the public security, and there is no need to worry about the device usage scenario being limited due to manufacturer problems. Different from the existing manual intervention in the security chip key burning and certificate distribution process, the equipment production security chip key is fully automated and the certificate is automatically distributed. This process realizes the secure transmission of key information and certificate distribution, and can also realize the safe and efficient production and automatic import of large quantities of equipment, avoiding human intervention and the risk of certificate leakage.
[0106] Optionally, in an exemplary embodiment, the certificate management center is also used to decrypt the DCPK ciphertext in the key information according to the DIPK public key information to obtain the DCPK public key plaintext information; and generate device certificate information according to the DCPK public key plaintext information and the device installation information.
[0107] Optionally, in an exemplary embodiment, the certificate management center is also used to send the device certificate information to the network device to be installed, so that the network device to be installed verifies the device certificate information according to the CARPK public key stored in the security chip. If the verification passes, the device certificate information is installed in the security chip of the network device to be installed to complete the installation.
[0108] Optionally, in an exemplary embodiment, the DCPK ciphertext is obtained by controlling the business management platform to control the network device to be installed to apply for device certificate information, deriving the certificate public key information DCPK public key based on the DIPK public key stored in the security chip of the network device to be installed, and encrypting the DCPK public key using the DIPK private key.
[0109] Optionally, in an exemplary embodiment, the DIPK private key in the DIPK key pair is determined by receiving a distribution request for the device initial key pair sent by the security device production platform, and based on the chip identifier of the security chip in the network device to be installed carried in the distribution request.
[0110] Each module in the above-mentioned device certificate distribution system can be implemented in whole or in part by software, hardware and their combination. Each module can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the corresponding operations of each module above.
[0111] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 8 As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input system. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input system are connected to the system bus through the input / output interface. 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 input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (Near Field Communication, NFC) or other technologies. When the computer program is executed by the processor, a device certificate distribution method is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection system or a virtual reality imaging system. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input system of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0112] Those skilled in the art will understand that Figure 8 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.
[0113] In an exemplary 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.
[0114] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and the computer program implements the steps in the above-mentioned method embodiments when executed by a processor. In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and the computer program implements the steps in the above-mentioned method embodiments when executed by a processor. 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 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, and the collection, use and processing of relevant data need to comply with relevant regulations.
[0115] Those of ordinary skill 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 the present application can include at least one of non-volatile memory 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), magnetic 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, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0116] 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 application.
[0117] 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 device certificate distribution method, characterized in that: Applied to a certificate management center, the method includes: Receive a device certificate application request for a network device to be installed sent by a service management platform, wherein the device certificate application request carries device installation information, a chip identifier, and key information of the network device to be installed; the key information is generated according to the DIPK key pair in the security chip of the network device to be installed; Determine the corresponding DIPK public key information according to the chip identification; Generate corresponding device certificate information according to the DIPK public key information, the device installation information and the key information; The device certificate information is sent to the network device to be installed to complete the installation.
2. The method according to claim 1, characterized in that The generating corresponding device certificate information according to the DIPK public key information, the device installation information and the key information includes: Decrypt the DCPK ciphertext in the key information according to the DIPK public key information to obtain the DCPK public key plaintext information; Generate device certificate information based on the DCPK public key plaintext information and the device installation information.
3. The method according to claim 2, characterized in that The sending of the device certificate information to the network device to be installed to complete the installation includes: The device certificate information is sent to the network device to be installed, so that the network device to be installed verifies the device certificate information according to the CARPK public key stored in the security chip. If the verification is successful, the device certificate information is installed in the security chip of the network device to be installed.
4. The method according to claim 2, characterized in that: The DCPK ciphertext is obtained by the business management platform controlling the network device to be installed to apply for device certificate information, deriving the certificate public key information DCPK public key based on the DIPK public key stored in the security chip of the network device to be installed, and encrypting the DCPK public key using the DIPK private key.
5. The method according to claim 1, characterized in that The DIPK private key in the DIPK key pair is determined by receiving a distribution request for the device initial key pair sent by the security device production platform and according to the chip identifier of the security chip in the network device to be installed carried in the distribution request.
6. The method according to any one of claims 1 to 5, characterized in that: The network equipment to be installed includes GB35114 equipment.
7. A device certificate distribution method, characterized in that: Applied to a safety equipment production platform, the method comprises: Generate a PCRK key pair for the network device to be installed, and obtain a CARPK key pair for the network device to be installed from a certificate management center; Sending a DIPK allocation request to the certificate management center according to the chip identification of the network device to be installed, receiving a response from the certificate management center to the DIPK allocation request, and sending a DIPK private key ciphertext corresponding to the chip identification; Decrypting the DIPK private key ciphertext according to the PCRK key pair to obtain DIPK private key information; The DIPK private key information and the CARPK public key in the CARPK key pair are burned into the security space of the security chip; the DIPK private key information and the CARPK public key are used to generate device certificate application information for the network device to be installed to complete the distribution of device certificates for the network device to be installed.
8. A device certificate distribution system, characterized in that: The system includes a security equipment production platform, a business management platform, a certificate management center, and network equipment to be installed, wherein: The security device production platform is used to generate a PCRK key pair for the network device to be installed, and obtain a CARPK key pair for the network device to be installed from a certificate management center; send a DIPK allocation request to the certificate management center according to the chip identification of the network device to be installed, receive a response from the certificate management center to the DIPK allocation request, and send a DIPK private key ciphertext corresponding to the chip identification; decrypt the DIPK private key ciphertext according to the PCRK key pair to obtain DIPK private key information; burn the DIPK private key information and the CARPK public key in the CARPK key pair into the security space of the security chip; The service management platform is used to send a device certificate application request for the network device to be installed, wherein the device certificate application request carries the device installation information, chip identification and key information of the network device to be installed; the key information is generated according to the DIPK key pair stored in the security chip of the network device to be installed; The certificate management center is used to determine the corresponding DIPK public key information according to the chip identification; generate corresponding device certificate information according to the DIPK public key information, the device installation information and the key information; and send the device certificate information to the network device to be installed to complete the installation.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Cited By
Secret key self-checking method and computer equipment
CN120474708A
Device certificate distribution method and system, computer device, and readable storage medium
WO2026031412A1
