Resource management public key infrastructure certificate operation method and system
By introducing the alliance chain system into the RPKI database to verify and upload the certificate operation information, the authenticity and credibility issues of the certificates in the database are solved, and the certificates are transparent, non-tamperable and efficiently updated.
Patent Information
- Application Number
- CN202110558639.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-21
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2041-05-21
AI Technical Summary
The existing resource public key infrastructure (RPKI) database cannot guarantee authenticity and trustworthiness. In the managed mode, certificates or signature objects may be maliciously deleted, destroyed or tampered with, and unexpired certificates can be unilaterally revoked, resulting in inconsistent views of the relying party.
By running the alliance chain system on the terminal of the database custodian, certificate operation information is generated and broadcast. After verification by the alliance chain node, the certificate is stored on the chain. The relying party obtains the new certificate operation information through an update request, ensuring that the issuance and revocation process of the certificate is transparent and Cannot be tampered with.
It effectively avoids malicious deletion and destruction of certificates, ensures the authorized issuance of new certificates, improves update efficiency and accuracy, and reduces the reputation of the database custodian to prevent abnormal behavior.
Smart Images

Figure CN113326543B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of network information security, and in particular to a resource management public key infrastructure certificate operation method and system. Background Art
[0002] Resource Public Key Infrastructure (RPKI) is a public key infrastructure used to ensure the secure use of Internet basic number resources. RPKI systems usually include three basic functional components, including a certification authority (CA), an RPKI database, and multiple RPKI relying parties. The RPKI database serves as a bridge between the certificate issuance system and relying parties. However, its content cannot be guaranteed to be authentic and trustworthy at present, which is specifically reflected in the following points: the hosting model results in the release of new certificates or signature objects without the real authorization of the resource holder; the issued certificates or signature objects can be maliciously deleted, destroyed, or tampered with; unexpired certificates can be unilaterally revoked by the upper-level CA; and relying parties have inconsistent views of the database. Summary of the invention
[0003] The present application aims to provide a resource management public key infrastructure certificate operation method and system.
[0004] According to a first aspect of the present application, a resource management public key infrastructure certificate operation method is provided, comprising:
[0005] The database hosting terminal runs the alliance chain system and obtains a request from the certificate authority to issue or revoke a certificate;
[0006] The database custodian terminal generates certificate operation information according to the request, and broadcasts the certificate operation information to the alliance chain system;
[0007] After receiving the certificate operation information, each alliance chain node in the alliance chain system verifies the certificate operation information;
[0008] After verifying the certificate operation information, each alliance chain node stores the certificate operation information on the chain;
[0009] The relying party terminal sends an update request to multiple target alliance chain nodes in the alliance chain system;
[0010] Each of the target alliance chain nodes sends newly added certificate operation information to the relying party terminal according to the update request.
[0011] In some embodiments of the present application, the resource management public key infrastructure certificate operation method further includes:
[0012] Each of the target alliance chain nodes sends signature information corresponding to the newly added certificate operation information while sending the newly added certificate operation information to the relying party terminal;
[0013] When the relying party terminal receives the newly added certificate operation information and the corresponding signature information sent by each of the target alliance chain nodes, it determines whether the newly added certificate operation information sent by each of the target alliance chain nodes is the same based on the signature information.
[0014] In some embodiments of the present application, the resource management public key infrastructure certificate operation method further includes:
[0015] If the newly added certificate operation information sent by each of the target alliance chain nodes is different, the relying party terminal sends an abnormal event to the alliance chain system;
[0016] The alliance chain system verifies the anomaly based on the abnormal event and reduces the reputation value of the corresponding database custodian.
[0017] In the embodiment of the present application, the database hosting party includes:
[0018] Regional Internet Registries, third-party database hosts, and a small number of certificate authorities that manage their own databases.
[0019] In an embodiment of the present application, if the request is a publishing request, the certificate operation information includes:
[0020] The identity of the certificate issuer and certificate holder, the certificate fingerprint information and the private key signature of the fully managed certificate authority.
[0021] In an embodiment of the present application, the verifying the certificate operation information includes:
[0022] Get the certificate operation type;
[0023] If the certificate operation type is a publishing type, obtaining the certificate issuer type according to the identity identifier of the certificate issuer;
[0024] If the certificate issuer type is a fully managed mode, verify the private key signature of the certificate authority;
[0025] Confirm the verification result.
[0026] In an embodiment of the present application, if the request is a revocation request, the certificate operation information includes:
[0027] The identity of the certificate issuer and certificate holder, the certificate’s fingerprint information, the block height where the certificate is located, and the private key signature of the certificate holder.
[0028] In an embodiment of the present application, the verifying the certificate operation information includes:
[0029] Get the certificate operation type;
[0030] If the certificate operation type is a revocation type, obtaining the block height information where the certificate is located;
[0031] According to the block height information where the certificate is located, obtain the certificate issuance operation information corresponding to the certificate;
[0032] Verify the identity of the certificate issuer and the certificate holder, and whether the fingerprint information of the certificate is consistent according to the certificate issuance operation information;
[0033] If the verification results are consistent, continue to verify the private key signature information of the certificate recipient;
[0034] Confirm the verification result.
[0035] According to a second aspect of the present application, a resource management public key infrastructure certificate operating system is provided, including: a database custodian terminal, an alliance chain system and a relying party terminal, wherein:
[0036] The database hosting terminal runs the alliance chain system and obtains a certificate issuance or revocation request from a certificate certification authority;
[0037] The database custodian terminal generates certificate operation information according to the request, and broadcasts the certificate operation information to the alliance chain system;
[0038] After receiving the certificate operation information, each alliance chain node in the alliance chain system verifies the certificate operation information;
[0039] After verifying the certificate operation information, each alliance chain node stores the certificate operation information on the chain;
[0040] The relying party terminal sends an update request to multiple target alliance chain nodes in the alliance chain system;
[0041] Each of the target alliance chain nodes sends newly added certificate operation information to the relying party terminal according to the update request.
[0042] In some embodiments of the application, the system further comprises:
[0043] Each of the target alliance chain nodes sends signature information corresponding to the newly added certificate operation information while sending the newly added certificate operation information to the relying party terminal;
[0044] When the relying party terminal receives the newly added certificate operation information and the corresponding signature information sent by each of the target alliance chain nodes, it determines whether the newly added certificate operation information sent by each of the target alliance chain nodes is the same based on the signature information.
[0045] In some embodiments of the application, the system further comprises:
[0046] If the newly added certificate operation information sent by each of the target alliance chain nodes is different, the relying party terminal sends an abnormal event to the alliance chain system;
[0047] The alliance chain system verifies the anomaly based on the abnormal event and reduces the reputation value of the corresponding database custodian.
[0048] In the embodiment of the present application, the database hosting party includes:
[0049] Regional Internet Registries, third-party database hosts, and a small number of certificate authorities that manage their own databases.
[0050] In an embodiment of the present application, if the request is a publishing request, the certificate operation information includes:
[0051] The identity of the certificate issuer and certificate holder, the certificate fingerprint information and the private key signature of the fully managed certificate authority.
[0052] In an embodiment of the present application, the verifying the certificate operation information includes:
[0053] Get the certificate operation type;
[0054] If the certificate operation type is a publishing type, the certificate issuer type is obtained according to the certificate issuer identity identifier;
[0055] If the certificate issuer type is in full-hosting mode, verify the private key signature of the certificate authority;
[0056] Confirm the verification result.
[0057] In addition, in the embodiment of the present application, if the request is a revocation request, the certificate operation information includes:
[0058] The identity of the certificate issuer and certificate holder, the certificate’s fingerprint information, the block height where the certificate is located, and the private key signature of the certificate holder.
[0059] In an embodiment of the present application, the verifying the certificate operation information includes:
[0060] Get the certificate operation type;
[0061] If the certificate operation type is a revocation type, obtaining the block height information where the certificate is located;
[0062] According to the block height information where the certificate is located, obtain the certificate issuance operation information corresponding to the certificate;
[0063] Verify the identity of the certificate issuer and the certificate holder, and whether the fingerprint information of the certificate is consistent according to the certificate issuance operation information;
[0064] If the verification results are consistent, continue to verify the private key signature information of the certificate recipient;
[0065] Confirm the verification result.
[0066] According to the technical solution of the embodiment of the present application, the alliance chain system is run through the database custodian terminal, and the certificate operation information is reported to the alliance chain system for the issuance and revocation requests of the certificate. After the certificate operation information is verified by each alliance chain node in the alliance chain system, it is stored on the chain, which not only saves the database publishing point of each certificate certification authority from maintaining the revocation list and list, but also effectively avoids the malicious deletion and destruction of certificates in the database. In addition, it also ensures that the issuance of all new certificates can be authorized by the resource holder. In addition, the relying party terminal obtains the newly added certificate operation information by sending an update request to the alliance chain system, which improves the update efficiency and accuracy.
[0067] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0068] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0069] Figure 1 A flowchart of a resource management public key infrastructure certificate operation method provided in an embodiment of the present application;
[0070] Figure 2 A flowchart of the verification of certificate operations by each alliance chain node provided in the embodiment of the present application;
[0071] Figure 3 A flowchart of another resource management public key infrastructure certificate operation method provided in an embodiment of the present application;
[0072] Figure 4 An architectural diagram of a resource management public key infrastructure certificate operating system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0073] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.
[0074] In order to overcome the defects of the prior art that the RPKI database cannot be completely authentic and trustworthy, and is not compatible with the existing RPKI system, the present application proposes a resource management public key infrastructure certificate operation method and system, which records the certificate operation information in the blockchain ledger, and the relying party updates the local cache by synchronizing the newly added certificate operation records in the blockchain, thereby ensuring the authenticity and trustworthiness of the database content obtained by the relying party.
[0075] Figure 1 This is a flow chart of a resource management public key infrastructure certificate operation method proposed in this application. Figure 1 As shown, the implementation steps of this method are as follows:
[0076] Step 101: The database hosting terminal runs the alliance chain system and obtains a certificate issuance or revocation request from a certificate certification authority.
[0077] Blockchain is a distributed shared ledger and database with the characteristics of decentralization, immutability, full traceability, traceability, collective maintenance, openness and transparency. Alliance chain is a type of blockchain, which is a blockchain jointly operated by many institutions or organizations, and each institution or organization manages one or more nodes in the alliance chain. Alliance chain has the advantages of strong controllability, fast transaction speed, avoiding information leakage, and account information that cannot be tampered with at will.
[0078] In an embodiment of the present application, the database custodian may include: a regional Internet registration authority, a third-party database custodian, and a small number of certificate certification authorities that manage their own databases. The database custodian terminal joins the alliance chain system, and each database custodian terminal becomes an alliance chain node in the alliance chain system, and each node is connected through the alliance chain network. When a new certificate is issued or an old certificate is revoked, the Certificate Authority (CA) will send a request to update the database to its corresponding database entrusting terminal, that is, a request to issue a new certificate or revoke an old certificate. The request content may include certificate-related information and other necessary information.
[0079] Step 102: The database hosting terminal generates certificate operation information according to the request and broadcasts the certificate operation information to the alliance chain system.
[0080] In the embodiment of the present application, the request obtained by the database client terminal includes a request for issuing a new certificate and a request for revoking an old certificate, so the database client terminal will generate corresponding certificate operation information according to the request type.
[0081] When the request type is a publishing request, the certificate operation information generated by the database trustee terminal includes: the identity of the certificate issuer and the certificate holder, the fingerprint information of the certificate, and the private key signature of the fully-managed certificate certification authority. As an example, for the certificate publishing operation, the specific format of the certificate operation information generated by the database trustee terminal based on the certificate content can be: <version number, signature algorithm, certificate issuer, certificate recipient, operation type, certificate fingerprint, certificate address, private key signature (optional), timestamp>. The specific description is as follows: the version number and signature algorithm are consistent with the version number and signature algorithm fields of the RPKI certificate; the certificate issuer is the ID (Identity) of the resource authorizer, and the certificate recipient is the ID of the resource authorized person, which is consistent with the issuer and user fields of the RPKI certificate; the operation type is 0, indicating a certificate issuance operation; the certificate fingerprint is the hash value of the certificate; the certificate address is the location where the certificate is stored and is used to obtain the certificate; the private key signature is the signature of the certificate issuer using its personal private key on the certificate issuance operation information. If the certificate issuer is a CA in semi-managed mode, this signature is not required; the timestamp is the time when the certificate issuance operation information is generated.
[0082] When the request type is to revoke a certificate, the certificate operation information generated by the database entrusting party terminal includes: the identity identification of the certificate issuer and the certificate holder, the fingerprint information of the certificate, the block height where the certificate is located, and the private key signature of the certificate holder. As an example, for the certificate revocation operation, the specific format of the certificate operation information generated by the database trustee terminal according to the certificate content can be: <version number, signature algorithm, certificate issuer, certificate recipient, operation type, certificate fingerprint, height, private key signature, timestamp>. The specific description is as follows: the version number, signature algorithm, certificate issuer and certificate recipient are consistent with the certificate operation information format corresponding to the above-mentioned certificate issuance operation; the operation type is 1, indicating a certificate revocation operation; the certificate fingerprint is the hash value of the certificate; the height refers to the height of the block where this certificate issuance operation is located; the private signature certificate recipient uses his personal private key to sign the certificate revocation operation information. The timestamp is the time when the certificate revocation operation information is generated.
[0083] It should be noted that a CA that adopts a fully hosted mode (i.e., both the key and the database publishing point are hosted by the database host) needs to generate two key pairs, namely hosted key pair and personal key pair. The hosted key pair is submitted to the database host to help the CA issue certificates, and the personal key pair is managed by the CA itself and used to sign certificate operation information. A CA that adopts a semi-hosted mode (i.e., only the database publishing point is hosted by the database host) only holds a personal key pair for issuing certificates. The correspondence between the personal public key and the hosted public key and the CA identity ID is stored in the genesis block (block 0).
[0084] In an embodiment of the present application, the database custodian terminal broadcasts the certificate operation information generated above to the alliance chain system to ensure that all nodes in the alliance chain receive this information, so that the alliance chain system can perform subsequent verification and chain operations.
[0085] Step 103: After receiving the certificate operation information, each alliance chain node in the alliance chain system verifies the certificate operation information.
[0086] Since the alliance chain system has a mechanism to prevent malicious deletion and modification operations on the ledger, after receiving the certificate operation information, each alliance chain node in the alliance chain system will not immediately execute the chain. Instead, it needs to verify and reach a consensus before executing the chain certification, thereby discarding some dishonest or unauthentic behaviors.
[0087] In the embodiment of the present application, each alliance chain node verifies the certificate operation according to the received certificate operation information. As an example, the specific verification process is as follows: Figure 2 As shown, the verification step includes:
[0088] Step 201, obtain the certificate operation type. If the certificate operation type is 0, that is, the certificate operation type is a release type, execute step 202; if the certificate operation type is 1, that is, the certificate operation type is a revocation type, execute step 203.
[0089] Step 202, according to the identity identifier of the certificate issuer, obtain the certificate issuer type. If the certificate issuer type is semi-managed mode, there is no need to verify the private key signature; if the certificate issuer type is fully managed mode, execute step 204.
[0090] Since the correspondence between the hosted public key, personal public key and CA identity has been stored in the genesis block, the alliance chain node can find the hosted public key and personal public key information corresponding to the certificate issuer identity stored in the genesis block according to the certificate issuer identity in the received certificate operation information, thereby determining whether the certificate issuer is in full-hosting mode or semi-hosting mode.
[0091] Step 204: Verify the private key signature of the certificate authority.
[0092] For the full-hosting mode, the issuance of new certificates requires the real authorization of the resource holder. Therefore, when the certificate issuer in the certificate operation information obtained by each alliance chain node is in the full-hosting mode, in order to verify the authenticity of the information, the private key signature of the certificate certification authority needs to be verified.
[0093] In an embodiment of the present application, the implementation method for each alliance chain node to verify the private key signature of the certificate certification authority can be: verify the private key signature information according to the personal public key of the certificate issuer recorded in the genesis block, that is, if the personal public key of the certificate issuer recorded in the genesis block successfully decrypts the private key signature in the certificate operation information, it means that the private key signature verification is successful; if the certificate operation information does not include a private key signature or the personal public key of the certificate issuer recorded in the genesis block cannot decrypt the private key signature in the certificate operation information, it means that the private key signature verification fails.
[0094] Step 205, determining the verification result.
[0095] In the embodiment of the present application, for the release type, if the certificate issuer is in semi-managed mode, the verification result is directly passed; if the certificate issuer is in full-managed mode, the verification result corresponding to the private key signature verification is passed; otherwise, it is failed. For the revocation type, if the private key signature verification is passed, the corresponding verification result is passed; otherwise, it is failed.
[0096] Step 203, obtain the block height information where the certificate is located, and then execute step 206.
[0097] It should be noted that if the certificate operation information received by the alliance chain node does not include the block height information where the certificate is located, that is, the operation of obtaining the block height information where the certificate is located fails, the alliance chain node will discard this certificate operation.
[0098] Step 206, according to the block height information where the certificate is located, obtain the certificate issuance operation information corresponding to the certificate, and execute step 207 after completion.
[0099] In the embodiment of the present application, the block height information where the certificate is located refers to the height of the block where the certificate issuance operation is located. That is to say, the certificate issuance operation information corresponding to the certificate can be obtained based on the block height information where the certificate is located.
[0100] Step 207, based on the certificate issuing operation information, verify whether the identity identifiers of the certificate issuer and the certificate holder, and the fingerprint information of the certificate are consistent. If they are consistent, execute step 208.
[0101] In an embodiment of the present application, the identity identifiers of the certificate issuer and the certificate holder in the certificate issuance operation information obtained based on the block height information where the certificate is located, and the fingerprint information of the certificate are compared with the identity identifiers of the certificate issuer and the certificate holder in the certificate operation information broadcast by the resource trustee terminal, and the fingerprint information of the certificate. If they are inconsistent, it means that the certificate operation may be a malicious certificate revocation operation, and each alliance chain node will discard this operation.
[0102] Step 208, verify the private key signature information of the certificate recipient, and execute step 205 after completion.
[0103] In order to avoid the unilateral revocation of an unexpired certificate by the upper-level CA, each consortium chain node needs to verify the private key signature information of the certificate recipient. The specific implementation method is as follows: determine the personal public key of the certificate recipient based on the information recorded in the genesis block; decrypt the private signature in the certificate operation information based on the personal public key information. If the decryption is successful, the private key signature verification is passed. If the decryption fails, the private key signature verification fails.
[0104] Step 104: After verifying the certificate operation information, each alliance chain node will store the certificate operation information on the chain.
[0105] In the embodiment of the present application, each alliance chain node reaches a consensus after verifying the certificate operation information, that is, each alliance chain node has agreed to the certificate operation. After approval, the certificate operation information is stored on the chain, and each alliance chain node will record this information in its account.
[0106] Step 105: The relying party terminal sends an update request to multiple target alliance chain nodes in the alliance chain system.
[0107] In the embodiment of the present application, the relying party terminal does not need to traverse the certificate tree to access all database publishing points to synchronize update information, but regularly asks any alliance chain node for updated block information since its last synchronization, that is, the newly added certificate operation information, to update the local database cache. In addition, in order to facilitate the confirmation of the authenticity of the updated information, the relying party terminal can send update requests to multiple target alliance chain nodes.
[0108] Step 106: Each target alliance chain node sends the newly added certificate operation information to the relying party terminal according to the update request.
[0109] According to the resource management public key infrastructure certificate operation method proposed in this application, the alliance chain system is run through the database custodian terminal, and the certificate operation information is reported to the alliance chain system for the issuance and revocation requests of the certificate. After the certificate operation information is verified by each alliance chain node in the alliance chain system, it is stored on the chain. This not only saves the database publishing point of each certificate certification authority from maintaining the revocation list and list, but also effectively avoids the malicious deletion and destruction of certificates in the database. In addition, it also ensures that the issuance of all new certificates can be authorized by the resource holder. In addition, the relying party terminal obtains the newly added certificate operation information by sending an update request to the alliance chain system, which improves the update efficiency.
[0110] In order to ensure the authenticity of the cache updated by the relying party, the present application proposes another resource management public key infrastructure certificate operation method based on the above embodiment. Figure 3 This is a flowchart of another resource management public key infrastructure certificate operation method proposed in an embodiment of the present application, such as Figure 3 The method adds the following steps based on the above embodiment:
[0111] Step 301, when the relying party terminal receives the newly added certificate operation information and corresponding signature information sent by each target alliance chain node, it determines whether the newly added certificate operation information sent by each target alliance chain node is the same based on the signature information.
[0112] In an embodiment of the present application, in order to prevent the target alliance chain node from dishonest behavior, that is, returning false block information to the relying party, each target alliance chain node sends the signature information corresponding to the newly added certificate operation information to the relying party terminal at the same time.
[0113] The relying party terminal first determines whether the newly added certificate operation information sent by each target alliance chain node is the same based on the signature information corresponding to the newly added certificate operation information. If they are not the same, it means that the corresponding target alliance chain node has dishonest behavior, and step 302 is executed at this time. If they are the same, the relying party terminal verifies based on the newly added certificate information content returned by each target alliance chain node to further confirm the authenticity of the information. Since the newly added certificate information contains both certificate issuance type information and certificate revocation type information, the relying party terminal verifies separately for different certificate operation types. For the certificate issuance operation, the relying party terminal synchronizes the newly added certificate according to the URL in the certificate operation information, verifies whether the certificate fingerprint, certificate issuer, and certificate recipient information in the certificate are consistent with the corresponding fields of the certificate issuance operation information, and completes the synchronization if they are consistent. If they are inconsistent or the certificate cannot be synchronized, it is considered that the certificate is deleted or destroyed, and step 302 is executed. For certificate revocation operations, query local records about this certificate based on the certificate fingerprint information (hash value). If the query fails, ignore this revocation operation. If the query succeeds, continue to verify whether the certificate hash value and the certificate issuer and certificate recipient information are consistent with the certificate revocation operation information. If they are consistent, delete the certificate. If they are inconsistent, ignore this revocation information.
[0114] Step 302: If the new certificate operation information sent by each target alliance chain node is different, the relying party terminal sends an abnormal event to the alliance chain system.
[0115] Step 303: The alliance chain system verifies the anomaly based on the abnormal event and reduces the reputation value of the corresponding database custodian.
[0116] According to the resource management public key infrastructure certificate operation method proposed in this application, by increasing the judgment of the relying party terminal on whether the newly added certificate operation information received from each target alliance chain node is consistent, and verifying the certificate issuance operation and certificate revocation operation respectively, the verification is successfully executed and synchronization is performed, thus further improving the authenticity of the synchronization information of the relying party terminal, while ensuring the integrity and consistency of the relying party terminal's view of the RPPKI database. In addition, after the relying party terminal finds an abnormality, it sends an abnormal event to the alliance chain system, and the alliance chain system verifies and reduces the reputation value of the corresponding database custodian, thereby playing an effective supervisory role on the database custodian.
[0117] In order to implement the above embodiment, the present application also provides a resource management public key infrastructure certificate operating system.
[0118] Figure 4 An architectural diagram of the operating system that manages the public key infrastructure certificates for this resource. Figure 4As shown, the resource management public key infrastructure certificate operating system proposed in the embodiment of the present application includes: a database custodian terminal, an alliance chain system and a relying party terminal, wherein:
[0119] The database hosting terminal runs the alliance chain system and obtains a request from the certificate authority to issue or revoke a certificate;
[0120] The database hosting terminal generates certificate operation information based on the request and broadcasts the certificate operation information to the alliance chain system;
[0121] After receiving the certificate operation information, each alliance chain node in the alliance chain system verifies the certificate operation information;
[0122] After verifying the certificate operation information, each alliance chain node will store the certificate operation information on the chain;
[0123] The relying party terminal sends an update request to multiple target alliance chain nodes in the alliance chain system;
[0124] Each target alliance chain node sends the newly added certificate operation information to the relying party terminal according to the update request.
[0125] In some embodiments of the application, the system further comprises:
[0126] Each target alliance chain node sends the signature information corresponding to the newly added certificate operation information to the relying party terminal at the same time;
[0127] When the relying party terminal receives the new certificate operation information and corresponding signature information sent by each target alliance chain node, it determines whether the new certificate operation information sent by each target alliance chain node is the same based on the signature information.
[0128] In some embodiments of the application, the system further comprises:
[0129] If the new certificate operation information sent by each target alliance chain node is different, the relying party terminal sends an abnormal event to the alliance chain system;
[0130] The alliance chain system verifies the anomaly based on the abnormal event and reduces the reputation value of the corresponding database custodian.
[0131] In the embodiment of the present application, the database hosting party includes:
[0132] Regional Internet Registries, third-party database hosts, and a small number of certificate authorities that manage their own databases.
[0133] In the embodiment of the present application, if the request is a publishing request, the certificate operation information includes:
[0134] The identity of the certificate issuer and certificate holder, the certificate fingerprint information and the private key signature of the fully managed certificate authority.
[0135] In an embodiment of the present application, verifying the certificate operation information includes:
[0136] Get the certificate operation type;
[0137] If the certificate operation type is a publishing type, the certificate issuer type is obtained according to the certificate issuer identity identifier;
[0138] If the certificate issuer type is fully managed mode, verify the private key signature of the certificate authority;
[0139] Confirm the verification result.
[0140] In addition, in the embodiment of the present application, if the request is a revocation request, the certificate operation information includes:
[0141] The identity of the certificate issuer and certificate holder, the certificate’s fingerprint information, the block height where the certificate is located, and the private key signature of the certificate holder.
[0142] In an embodiment of the present application, verifying the certificate operation information includes:
[0143] Get the certificate operation type;
[0144] If the certificate operation type is revocation type, obtain the block height information where the certificate is located;
[0145] According to the block height information where the certificate is located, obtain the certificate issuance operation information corresponding to the certificate;
[0146] According to the certificate issuance operation information, verify the identity of the certificate issuer and the certificate holder, and whether the fingerprint information of the certificate is consistent;
[0147] If the verification results are consistent, continue to verify the private key signature information of the certificate recipient;
[0148] Confirm the verification result.
[0149] According to the resource management public key infrastructure certificate operating system proposed in this application, the alliance chain system is run through the database custodian terminal, and the certificate operation information is reported to the alliance chain system for the issuance and revocation requests of the certificate. After the certificate operation information is verified by each alliance chain node in the alliance chain system, it is stored on the chain. This not only saves the database publishing point of each certificate certification authority from maintaining the revocation list and list, but also effectively avoids the malicious deletion and destruction of certificates in the database. In addition, it also ensures that the issuance of all new certificates can be authorized by the resource holder. In addition, the relying party terminal obtains the newly added certificate operation information by sending an update request to the alliance chain system, which improves the update efficiency.
[0150] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0151] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0152] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0153] The above specific implementations do not constitute a limitation on the protection scope of this application. 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 modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.
Claims
1. A resource management public key infrastructure certificate operation method, characterized in that: include: The database hosting terminal runs the alliance chain system and obtains a request from the certificate authority to issue or revoke a certificate; The database custodian terminal generates certificate operation information according to the request, and broadcasts the certificate operation information to the alliance chain system; After receiving the certificate operation information, each alliance chain node in the alliance chain system verifies the certificate operation information; After verifying the certificate operation information, each alliance chain node stores the certificate operation information on the chain; The relying party terminal sends an update request to multiple target alliance chain nodes in the alliance chain system; Each of the target alliance chain nodes sends the newly added certificate operation information to the relying party terminal according to the update request; The database hosting party includes: Regional Internet registries, third-party database hosting organizations, and a small number of certificate authorities that manage their own databases; If the request is a publishing request, the certificate operation information includes: The identity of the certificate issuer and certificate holder, the certificate fingerprint information and the private key signature for the fully managed certificate authority; The verifying the certificate operation information includes: Get the certificate operation type; If the certificate operation type is a publishing type, obtaining the certificate issuer type according to the identity identifier of the certificate issuer; If the certificate issuer type is a fully managed mode, verify the private key signature of the certificate authority; Determine the verification results; If the request is a revocation request, the certificate operation information includes: The identity of the certificate issuer and certificate holder, the certificate’s fingerprint information, the block height where the certificate is located, and the certificate holder’s private key signature; The verifying the certificate operation information includes: Get the certificate operation type; If the certificate operation type is a revocation type, obtaining the block height information where the certificate is located; According to the block height information where the certificate is located, obtain the certificate issuance operation information corresponding to the certificate; Verify the identity of the certificate issuer and the certificate holder, and whether the fingerprint information of the certificate is consistent according to the certificate issuance operation information; If the verification results are consistent, continue to verify the private key signature information of the certificate recipient; Confirm the verification result.
2. The method according to claim 1, characterized in that Also includes: Each of the target alliance chain nodes sends signature information corresponding to the newly added certificate operation information while sending the newly added certificate operation information to the relying party terminal; When the relying party terminal receives the newly added certificate operation information and the corresponding signature information sent by each of the target alliance chain nodes, it determines whether the newly added certificate operation information sent by each of the target alliance chain nodes is the same based on the signature information.
3. The method according to claim 2, characterized in that Also includes: If the newly added certificate operation information sent by each of the target alliance chain nodes is different, the relying party terminal sends an abnormal event to the alliance chain system; The alliance chain system verifies the anomaly based on the abnormal event and reduces the reputation value of the corresponding database custodian.
4. A resource management public key infrastructure certificate operating system, characterized in that: include: Database custodian terminal, alliance chain system and relying party terminal, including: The database hosting terminal runs the alliance chain system and obtains a certificate issuance or revocation request from a certificate certification authority; The database custodian terminal generates certificate operation information according to the request, and broadcasts the certificate operation information to the alliance chain system; After receiving the certificate operation information, each alliance chain node in the alliance chain system verifies the certificate operation information; After verifying the certificate operation information, each alliance chain node stores the certificate operation information on the chain; The relying party terminal sends an update request to multiple target alliance chain nodes in the alliance chain system; Each of the target alliance chain nodes sends the newly added certificate operation information to the relying party terminal according to the update request; The database hosting party includes: Regional Internet registries, third-party database hosting organizations, and a small number of certificate authorities that manage their own databases; If the request is a publishing request, the certificate operation information includes: The identity of the certificate issuer and certificate holder, the certificate fingerprint information and the private key signature for the fully managed certificate authority; The verifying the certificate operation information includes: Get the certificate operation type; If the certificate operation type is a publishing type, obtaining the certificate issuer type according to the identity identifier of the certificate issuer; If the certificate issuer type is a fully managed mode, verify the private key signature of the certificate authority; Determine the verification results; If the request is a revocation request, the certificate operation information includes: The identity of the certificate issuer and certificate holder, the certificate’s fingerprint information, the block height where the certificate is located, and the certificate holder’s private key signature; The verifying the certificate operation information includes: Get the certificate operation type; If the certificate operation type is a revocation type, obtaining the block height information where the certificate is located; According to the block height information where the certificate is located, obtain the certificate issuance operation information corresponding to the certificate; Verify the identity of the certificate issuer and the certificate holder, and whether the fingerprint information of the certificate is consistent according to the certificate issuance operation information; If the verification results are consistent, continue to verify the private key signature information of the certificate recipient; Confirm the verification result.
5. The system according to claim 4, characterized in that Also includes: Each of the target alliance chain nodes sends signature information corresponding to the newly added certificate operation information while sending the newly added certificate operation information to the relying party terminal; When the relying party terminal receives the newly added certificate operation information and the corresponding signature information sent by each of the target alliance chain nodes, it determines whether the newly added certificate operation information sent by each of the target alliance chain nodes is the same based on the signature information.
Citation Information
Patent Citations
Block chain based PKI (public key infrastructure) system and semi-random joint certificate signature method
CN106789090A
Decentralized cross-trust-domain authentication method and system
CN110061851A
