Skip to content
You are reading Hyperledger Besu development version documentation and some displayed features may not be available in the stable release. You can switch to stable version using the version box at screen bottom.
Last update: October 11, 2021

Public key infrastructure

Warning

Public key infrastructure (PKI) support is an early access feature, and functionality and options may be updated between releases.

Hyperledger Besu’s public key infrastructure allows you to use certificates issued by a trusted authority to manage node and account identities in the following ways:

  • Node permissioning - Only authorized nodes can connect to other nodes in the network using TLS for the P2P communication.
  • Block proposal permissioning - Only blocks proposed by authorized validators are accepted.

Supported keystore and truststore formats used to store the certificates include PKCS11, PKCS12, and JKS.

Node permissioning

Allow TLS communication between nodes by using certificates issued by a trusted authority to connect to other authorized nodes in the network.

When receiving connection requests, the incoming connection must be from another authorized node. Similarly, when connecting to a node the initiator ensures that the remote node is authorized to participate in the network.

Configure TLS for the P2P communication using the Besu command line options.

Block proposal permissioning

Important

Only private networks using the QBFT consensus protocol support block proposal permissioning.

Use certificates issued by a trusted authority to ensure only authorized validator nodes can propose new blocks in the network. The block hash is signed by the validator private certificate and included in the header of the proposed block as a CMS (Cryptographic Message Syntax). This is used by other validators to verify that the proposer is authorized to create a block in the network.

Configure block proposal permissioning using the Besu command line options.

Questions or feedback? You can discuss issues and obtain free support on Hyperledger Besu chat channel.
For Hyperledger Besu community support, contact the mailing list besu@lists.hyperledger.org