A method for managing digital certificates, the method comprising: receiving, at a blockchain, a first transaction request sent by a certificate authority, wherein the first transaction request comprises a request to write a digital certificate issued by the certificate authority to a node in a blockchain into the blockchain; determining, by the blockchain, a consensus result of consensus verification performed by the blockchain on the digital certificate, wherein determining the consensus result comprises: determining verification results of nodes in the blockchain that participate in consensus verification on the digital certificate, wherein i) more than half of the nodes in the blockchain participate in consensus verification on the digital certificate and ii) a number of nodes in the blockchain that participate in consensus verification on the digital certificate comprises a number of nodes that complete consensus verification on the digital certificate within a set duration of consensus verification, determining a number of first nodes and/or a number of second nodes in the nodes that participate in consensus verification, wherein a first node is a node whose verification result indicates that consensus verification was successful, and a second node is a node whose verification result indicates that consensus verification was not successful, and determining the consensus result based on the number of first nodes and/or the number of second nodes; and responding to or rejecting, by the blockchain, the first transaction request based on the consensus result. receiving, at a blockchain, a first transaction request sent by a certificate authority, wherein the first transaction request comprises a request to write a digital certificate issued by the certificate authority to a node in a blockchain into the blockchain; determining, by the blockchain, a consensus result of consensus verification performed by the blockchain on the digital certificate, wherein determining the consensus result comprises: determining verification results of nodes in the blockchain that participate in consensus verification on the digital certificate, wherein i) more than half of the nodes in the blockchain participate in consensus verification on the digital certificate and ii) a number of nodes in the blockchain that participate in consensus verification on the digital certificate comprises a number of nodes that complete consensus verification on the digital certificate within a set duration of consensus verification, determining a number of first nodes and/or a number of second nodes in the nodes that participate in consensus verification, wherein a first node is a node whose verification result indicates that consensus verification was successful, and a second node is a node whose verification result indicates that consensus verification was not successful, and determining the consensus result based on the number of first nodes and/or the number of second nodes; and determining verification results of nodes in the blockchain that participate in consensus verification on the digital certificate, wherein i) more than half of the nodes in the blockchain participate in consensus verification on the digital certificate and ii) a number of nodes in the blockchain that participate in consensus verification on the digital certificate comprises a number of nodes that complete consensus verification on the digital certificate within a set duration of consensus verification, determining a number of first nodes and/or a number of second nodes in the nodes that participate in consensus verification, wherein a first node is a node whose verification result indicates that consensus verification was successful, and a second node is a node whose verification result indicates that consensus verification was not successful, and determining the consensus result based on the number of first nodes and/or the number of second nodes; and responding to or rejecting, by the blockchain, the first transaction request based on the consensus result.