Besu node keys vs account keys: what an HSM protects

A Besu network holds more than one kind of key. The HSM plugin protects the P2P node key, while account keys that sign transactions need a separate control, and auditors will ask about both.

On this page

Besu node keys vs account keys: what an HSM protects

A permissioned Besu network holds two different kinds of key, and an HSM covers only one of them. Besu node keys identify each node to its peers and, on a QBFT network, the validator node key is used to sign blocks. Account keys are the Ethereum keys that sign transactions submitted by users, applications or operators. Before design sign-off, the team should list every key in each category, name its owner, and record which control protects it. The HSM plugin's documented scope on public networks covers Besu's P2P node key only. It does not manage Ethereum account keys, transaction signing keys or proof of stake validator keys, so an HSM purchase does not by itself protect transaction signing. Confirm the scope against the version you will run, since the plugin and its supported providers can change between releases.

The split matters because the two key types fail differently and are reviewed by different people. A compromised node key lets an attacker impersonate a validator or a peer, which the permissioning settings and the QBFT validator set are meant to contain. A compromised account key lets an attacker move value or change state under a real identity, which is what an auditor will trace through transaction logs and access reviews. Ask the team that owns the network to write down, for each key: where the private key is stored, who can read or use it, how it is rotated, and what happens when it is lost. Also confirm how the account keys for a consortium are created and whether they are generated on Besu hosts at all.

Expect the auditor to ask for a key inventory that covers both categories, evidence that the node key location and file permissions match the design, and a description of how account signing is authorized and logged. Where the network relies on Besu's local permissioning files to restrict nodes and accounts, the auditor will also want those files under change control. The answers must come from your own environment: which HSM or key store holds each node key, who holds the administrative credentials, and how signing requests for accounts are kept out of application code. Teams planning account signing controls should review the separate guidance on signing outside Besu before they assume the node key HSM covers them. Besu docs: node keys is the natural starting point for the scope statement.

Which keys a Besu network holds and what each one does

A Besu network holds more than one kind of key, and each one answers a different question: which node is this, who signed this transaction, and who may produce blocks. The HSM plugin covers a narrower set than many teams assume, so map each key to its owner and protection tool before you choose hardware.

Node private key

This key gives each Besu node its P2P identity and determines its enode, the address other peers use to connect. On validator nodes it also underpins block signing under QBFT, so losing or copying it affects both connectivity and consensus. The local node private key file is not encrypted by default. Confirm where your deployment writes it, who can read it, and whether the file lives on a volume that is backed up.

Besu node keys docs

HSM plugin selection

Hardware-backed storage for the node key is enabled through the security module plugin, selected at start-up with the --security-module option. The plugin changes where the node key is loaded from, not how the node is configured elsewhere. Confirm the plugin version matches your Besu release before you plan the cutover, because plugin and client releases move on separate schedules.

Scope of the HSM plugin

The HSM plugin protects the P2P node key only on public networks. It does not manage Ethereum account keys, transaction signing keys or proof of stake validator keys. Teams that expect an HSM to cover every key on a permissioned network will find gaps during review, so document this boundary explicitly in your key inventory.

Account keys for transactions

Account keys sign the transactions that move value or change state on the network. They sit outside the node key path, so the node's HSM setting does not protect them. Decide where each account key is generated, who can use it and whether signing happens inside Besu, in an application, or in an external signer. Ask your team to name the storage location for every account.

Validator-related keys outside Besu

Some validator operations depend on keys that Besu does not manage, such as keys used by external signing or by operator tooling around the validator set. Build a list of these keys with their owners, storage and rotation process. Confirm with your own deployment and vendor documentation which keys the network actually needs before assigning protection controls.

Evidence an auditor will request

Reviewers usually ask for a key inventory, the owner and location of each key, the access rules on key files and volumes, and records of key generation and rotation. They will also ask how the node key is protected and whether the HSM boundary is documented. Prepare these artifacts before the review so the answers match the running configuration.

Which tool protects each key type

This table compares the three key types in a Besu network: the P2P node key, Ethereum account keys and proof of stake validator keys. Read each row to see what Besu does with the key, whether the Besu HSM plugin covers it, where it is stored by default and who owns the control.

Key typeWhat Besu does with itCovered by the Besu HSM pluginDefault storage and who owns the control
P2P node keyIdentifies the node to peers and sets its node ID (enode). Besu also uses it in the node's network identity on a QBFT network.Yes. The HSM plugin protects this key through the --security-module option.Stored as an unencrypted key file in the data directory by default. The operator owns the file, its permissions and any HSM integration.
Account keys (externally owned accounts)Sign transactions sent from the account. Besu does not hold these keys as part of its node identity.No. The HSM plugin does not manage Ethereum account keys or transaction signing keys.Held by the application, wallet or signing service that creates transactions. The team that runs that service owns the key controls.
Proof of stake validator keysUsed by proof of stake validation duties. Besu's QBFT network uses proof of authority, so these keys are not part of a standard QBFT setup.No. The HSM plugin does not manage proof of stake validator keys.Managed by whichever validator software the network uses. Confirm the controls with that software's documentation and your own environment.
QBFT block signingThe validator's node key signs blocks in QBFT, so the node key is the key that matters for validator identity.Yes, when the node key is protected through the HSM plugin. Confirm the supported provider for your HSM before go-live.Same storage as the node key. Ask your assessor which owner and approval steps cover block-signing key changes.
Transaction signing outside BesuBesu receives signed transactions. Signing takes place in an external component that the operator designs and runs.No. The HSM plugin is not the control for this key type.Depends on the external signer and key store you choose. Confirm how the signer, its keys and its access logs are controlled and audited.
Key backup and recoveryLosing the node key changes the node identity. Losing an account key can lock funds or remove signing ability.Depends on how the node key is stored in the HSM. Confirm backup and recovery steps with your HSM vendor.Operator and key custodian. Document who can restore each key type and under what approval.

How to map and assign key controls before go-live

This sequence gives the team a written inventory of every key in the network, a clear decision on which keys the HSM plugin protects, named owners for each key, and a tested start confirming the security module loads. The output is evidence an auditor can follow from the key list to the running node.

  1. Inventory every key in the network

    List each key that the network depends on: the node key on every validator and non-validator node, the account keys that sign transactions for applications and operators, any keys used for JSON-RPC authentication such as JWT signing keys, and TLS certificate keys. For each one, record the node or service it belongs to, the file or store where it lives today, and which process uses it. Done means the inventory has one row per key with no unnamed entries, and the network architect has reviewed it against the node list.

  2. Decide which keys sit under the HSM plugin

    For each row, decide whether the key is a node key that the Besu HSM plugin can protect or a key that must be managed elsewhere. Confirm in the Besu node keys documentation that the plugin protects the P2P node key and does not manage Ethereum account keys, transaction signing keys or proof of stake validator keys. Account and transaction signing keys then need a separate control, such as an external signer. Done means each key has a recorded protection decision and a reason, approved by the security owner.

  3. Assign owners and separation of duties

    Name one accountable owner for each key category: node keys, account keys, JSON-RPC credentials and TLS keys. Make sure the person who approves key creation is not the same person who runs the start-up change, and that no single operator can both read the key material and change the permissions file that governs who can connect. Done means a signed RACI or equivalent table exists, and the owners have confirmed their responsibilities in writing.

  4. Locate the node key file and check its permissions

    On each node, find the file that holds the local node private key and record its full path, owner, group and permission bits. The Besu documentation states that the local node private key file is not encrypted, so access control on the file and its volume is the main control when no HSM is used. Restrict read access to the account that runs the Besu process, and confirm the directory is not shared with backup jobs or log collectors that could copy it. Done means a permission report for every node is attached to the inventory.

  5. Confirm the security module loads in a test start

    On a non-production node with the same Besu version and plugin files as production, configure the security module option, start Besu and review the startup log for a line confirming the security module plugin loaded. If the log shows a failure, stop and correct the plugin installation or key configuration before any production start. Done means the test start log is saved with the Besu version recorded, and the team has confirmed the module was active rather than silently bypassed.

  6. Check that node identity survives a restart

    Restart the test node two or more times and compare the node identity or enode reported after each start with the value recorded at first start. A stable identity shows the key is being loaded from the same source each time. A changed identity means a new key was generated, which would break peer lists and permissioning entries that name the old node. Done means the before and after values match in the saved log, and the result is recorded against the node in the inventory.

  7. Confirm account signing does not depend on the node key

    Sign a test transaction from an account key on the test node and show the transaction succeeds with the node key unavailable or with the security module disabled, using the signing method your design uses. This shows that account signing runs on a separate path. If the transaction only succeeds when the node key is present, the design has a dependency that must be fixed before go-live. Done means the test result, the signing path used and the key owner are recorded in the control map.

  8. Record the control map as audit evidence

    Consolidate the inventory, protection decisions, owners, permission reports, test start logs, restart identity comparison and signing test into one control map that links each key to its controls and its evidence. Keep it under version control with a date and the approver's name, and schedule a review whenever a key is rotated, a node is added or Besu is upgraded. Done means an independent reviewer can trace any key from the list to its protection and its test evidence without asking the team for missing items.

Why the node key and account keys need different controls

The node key and account keys need different controls because they authorize different actions with different blast radii. A Besu node's node key identifies the machine on the peer-to-peer network. On a QBFT validator, that same identity takes part in signing blocks, so an attacker who copies it can impersonate the node on the network or help sign blocks as a validator. Account keys do something else: they sign transactions that move value, change state or call contracts on behalf of a user or application. Compromise of an account key lets someone act as that account, which is a financial and authorization problem rather than a network identity problem. Treating the two as one secret hides which failure you are guarding against.

Consolidating both keys into one vault is simpler to operate, with one access policy, one backup process and one audit trail. The cost is that a single access path or misconfigured policy exposes both roles at once, and the audit log becomes harder to read for each purpose. Separating them lets you give the validator key a narrow path used only by the Besu process at start-up, and give transaction signing a separate path with its own approval and logging rules. Confirm with your HSM or vault vendor whether the node key and any account keys can live in separate partitions, key labels or policies, and whether your auditors accept that separation as evidence of distinct controls.

Permissioning is a third control, and it does not replace key protection. The node permissions file restricts which peers a node will connect to, and account permissioning rules govern which accounts may submit transactions or be suspended. A valid, HSM-protected node key can still be used on a network that has not restricted peers, and a permissioned network can still be exposed if an account key leaks. Before go-live, document each control separately: where the node key lives, who can read or use it, which peers and accounts the permissions files allow, and how a change to any of them is approved and recorded.

Security risks when node and account keys are treated as one

Teams that manage a Besu network often handle the node key and account keys with the same tools, the same access rules and the same audit scope. The cards below cover the mistakes that follow from that habit, and the checks that expose them before an auditor does.

Assuming the HSM signs transactions

The HSM plugin protects the P2P node key on public networks. It does not manage Ethereum account keys, transaction signing keys or proof of stake validator keys. A team that moves its node key into an HSM may believe its transaction signing is protected too, when accounts still sign from wherever they were configured. Ask which key signs each transaction type and where that key lives. Confirm the HSM covers only the node key.

Node keys docs

Unencrypted node key file

Besu's documentation states that the local node private key file is not encrypted. Anyone who can read that file can impersonate the node on the peer network. File ownership, mode bits and the account the Besu process runs as all determine who can read it. Check that only the service account can read the file, and that backups and container images do not copy it into places with wider access.

Node key file
Not encrypted

Node key readable by the wrong account

On a shared host, another service account, a configuration management tool or a debugging session running as a different user may read the node key directory. The risk is not visible in Besu's logs because Besu starts normally. Review who has read access to the data directory and the key location, and confirm that backup jobs run under accounts with the same restrictions.

Unclear audit scope for keys

An auditor will ask for an inventory of every key that can authorize a network action, with an owner, a storage location and a control for each. Teams that treat node and account keys as one item often produce a list that omits account keys or counts the node key twice. Build the inventory per key type, and record which tool protects each one.

Drift between documented and actual key locations

Runbooks often record the key path used at installation, but later changes such as a new volume, a Kubernetes secret mount or a replaced node can move the file without updating the document. The HSM plugin and the file path are both set at start-up with the --security-module option and related settings. Compare the running node's configuration with the documented values at each change window and after every upgrade.

Stable enodes depending on one file

The node key determines the node's identity on the peer network, so a changed or regenerated file changes the enode address that other participants have allowlisted. Permissioned networks that rely on node permissioning can then drop a validator from the network until the allowlists are updated. Keep a controlled copy of the key material, record the enode values in the permissioning configuration, and test a restore before it is needed.

What auditors and security teams ask about Besu keys

What does the HSM plugin actually protect on a Besu network?

On public networks, the Besu HSM plugin protects Besu's P2P node key. It does not manage Ethereum account keys, transaction signing keys or proof of stake validator keys. On a private network, the same boundary applies: the node key identifies the node to its peers and signs QBFT blocks, so it is the key the plugin can hold. Confirm the node key's role in your own configuration, because a permissioned network may use keys in ways your team needs to document. The Besu node private key file is not encrypted by default, which is why the question of where it lives matters before go-live. See the Besu node keys documentation for the exact scope.

Can account keys live in the same HSM as the node key?

Not through the Besu HSM plugin alone. The plugin's documented scope is the P2P node key, so account keys that sign transactions need a separate control. Teams usually answer this in one of two ways: they keep account keys out of Besu and sign transactions with an external signer, or they accept a documented key file for accounts with tighter access rules. Whether the same physical HSM can hold both key types depends on the HSM vendor, the partition model and the chosen provider, so confirm that with the vendor and with the Besu plugin documentation before you design around it.

How much effort does it take to separate node and account controls?

Effort depends mostly on how many keys and nodes exist, how many signing paths the network uses, and whether applications currently hold account keys directly. A network with a few validator nodes and one operator team is a smaller change than a consortium where each member runs its own nodes and applications sign with shared accounts. Ask any provider for a written scope that lists each key type, each node, each signing path and each system that touches them. Without that list, no fair quote or schedule can be compared.

What drives the cost of protecting Besu keys?

The main cost drivers are scope and existing tooling. Costs rise with the number of nodes that need their own key protection, the number of account keys and signing paths, the number of environments (development, test, production, disaster recovery) and any integration with existing secrets, PKI or HSM platforms. Costs fall when the organization already runs an HSM or secrets platform that can be extended. Ask for one-time work (design, installation, key creation, testing) separated from recurring work (key rotation, provider upgrades, audit evidence collection, monitoring). DeployOpen does not publish a price list, and a quote follows from the written scope.

What must the team provide to an auditor about Besu keys?

Auditors usually ask for an inventory of every key type, its purpose, its owner, where it is stored and who can use it. Expect requests for the key generation procedure, the access control list for key storage, the backup and recovery approach, the rotation or replacement process, and logs showing key use and administrative changes. For Besu specifically, show which keys sign QBFT blocks, which identify peers, and which sign transactions, plus the permissioning configuration that limits who can connect or transact. Independent auditors and certification bodies issue any opinion. DeployOpen prepares the systems, controls and evidence that support that assessment.

Can an internal team separate these controls without outside help?

Yes, if the team has engineers who understand Besu configuration, HSM administration and the organization's key management policy, and if they have time to test failure paths before go-live. The hard parts are usually not the install commands but the design decisions, the recovery plan if an HSM or node fails, and the evidence trail. Teams that choose outside help typically do so to add a second review, to fill a skills gap or to meet an assessment date. Whatever the choice, agree the scope and deliverables in writing first, and confirm the vendor and version support for your HSM and Besu release.

What should an auditor be told about key backup and recovery?

Describe how each key is backed up, where the backup is stored, who can restore it and how a restore is tested. For node keys, note that Besu's node private key file is not encrypted by default, so the backup copy needs the same access protection as the live file. For HSM-held keys, confirm with the HSM vendor how key material can be backed up and restored, and whether the process needs quorum approval. Record the last restore test and its result. Do not assume that a backup of Besu data also backs up keys, because the two are handled separately.

What to confirm for your network before relying on the design

The separation between node keys and account keys holds only if the plugin, the HSM and the Besu version on your network behave as the design assumes. Each item below is a check to complete with the vendor, the HSM supplier and your own environment before you rely on the design.

Supported providers for your HSM

Confirm which security module provider the Besu HSM plugin supports for your specific HSM model and firmware. Ask the HSM supplier whether its PKCS#11 library or cloud provider interface is the one the plugin expects, and whether the plugin needs a specific provider installed in its plugins directory. Do not assume that an HSM that is PKCS#11 compliant in general will work with the plugin as configured.

Besu node keys docs

Which keys fall under the plugin

Confirm in writing that the HSM plugin protects only the P2P node key on your network type. On public networks it does not manage Ethereum account keys, transaction signing keys or proof of stake validator keys. Then confirm how your private QBFT validator setup uses the node key, since that determines what the HSM actually secures on your chain.

Node keys docs

Besu version on every node

Record the exact Besu version running on each validator and non-validator node, and confirm the plugin version matches it. Plugin compatibility and key handling can change between calendar releases, so a mixed fleet can produce different behavior for the same key configuration. Check the release notes for the version you plan to run before you lock the design.

Rollback path after upgrades

Confirm how you would roll back a Besu upgrade. The 26.10.0 release notes state that the Bonsai database auto-upgrades on first start and older versions cannot open it, so a backup taken before the upgrade is the only rollback route. Confirm that the HSM-backed key material is backed up or can be recreated under the same configuration.

Besu releases

Auditor acceptance of the separation model

Ask your internal audit or external assessor whether they accept a model where the node key and the account keys are protected by different tools with different controls. Agree the evidence they expect for each key class, such as key generation records, access logs and separation of duties, before you document the design as final.

Node keys docs

Your own key custody policy

Compare the design against your existing key management policy and HSM standard. Confirm who may generate, import, rotate and revoke node keys, and where account signing keys are held if they are kept outside Besu. Written ownership for each key class prevents gaps between the network team and the security team.

How node keys and account keys sit in the network

The diagram starts at the Besu validator node, where the node key identifies the peer and signs QBFT blocks, and follows its path through the security module plugin to an HSM. The JSON-RPC layer sits in front of the node and is protected by authentication, not by the HSM. On the far side, account keys sign transactions in a separate signing service outside Besu. Check that the node key never leaves the security module boundary and that no account key is held inside the Besu process.

Node key path through the HSM, JSON-RPC access, and account signing outside Besu.

Choosing the next page for your key design

Your next step depends on which key class you are protecting and where that key has to live. If the key is a validator node key that signs QBFT blocks, and your security policy requires it to sit in a hardware security module, read the sibling page on storing Besu validator keys in an HSM with PKCS#11. It covers provider choice, installing the provider into the plugins directory, and creating the key before the node starts. If your cloud provider's HSM service is the one you have approved, read the page on running Besu node keys in AWS CloudHSM instead, because that service uses a different provider and does not work with the native PKCS#11 path.

If no HSM is in budget, the node key stays in a key file. Read the page on protecting Besu node private key files without an HSM. It covers custom key file locations, file permissions, separate volumes, pre-generating keys so enode identities stay stable, and cloud secret stores used by Kubernetes deployments. Keep in mind that the local node private key file is not encrypted, so the controls in that page carry more of the weight than they would with an HSM. Confirm with your security team which of these controls they will accept as compensating before you commit to the file-based design.

If your concern is the account key that signs transactions, none of the node key pages apply. The HSM plugin does not manage account keys on public networks, and the same boundary is worth confirming for your permissioned build. Read the page on signing Besu transactions with Web3Signer and an external vault. It covers supported vaults for secp256k1 keys, TLS between Web3Signer and Besu, and where the signer sits in the network. Many organizations need both a node key decision and a transaction signing decision, so plan them as two separate workstreams with separate owners.

How DeployOpen scopes Besu key management work

DeployOpen plans and implements self-hosted Besu key management inside the client's own infrastructure, starting with a written split between node keys and account keys. The work covers which keys each protection tool holds, how they are created, backed up and rotated, and what evidence the client's security and compliance teams will need to review.

How we scope

  • Engagements are fixed-scope, with key inventory, deliverables and timelines agreed in writing before work starts.
  • The inventory lists each node key, account key and signing path, with the owner and tool that protects it.
  • Scope states which keys an HSM protects in your design and which remain with a file, vault or external signer.

How we build

  • Node key protection is configured through the Besu security module option and tested on each validator and node.
  • Account signing is planned separately, so transaction keys stay out of Besu's node key path and its configuration.
  • Every key creation, backup and restore step is tested in a non-production network before it reaches the live network.

How we hand over

  • Deliverables include the key inventory, configuration records, runbooks for creation, backup and recovery, and access rules.
  • Documentation maps each key to its protection tool so your auditors can trace controls without reverse engineering the setup.
  • Handover includes a walkthrough with your operators so they can run key rotation and restore procedures themselves.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • Retainers can cover Besu version upgrades, which may require a verified backup because older versions cannot open upgraded databases.
  • Ask for a named support contact, response expectations and change control written into the retainer before signing.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.