Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 1.25 KB

node-secret-key-does-not-exist.md

File metadata and controls

41 lines (31 loc) · 1.25 KB
title slug hide_title tags
Node secret key does not exist
node-secret-key-does-not-exist
true
keystore
lost keys
ownership
file permissions

import Author from '@site/src/components/Author';

Node secret key does not exist

When watching the Fleek Network Lightning service log output, you find the "Node secret key does not exist" message as follows:

Error: Could not start the node.

Caused by:
    Node Initialization failed: InitializationFailed(Tag<lightning_signer::Signer<lightning_node::FinalTypes> as SignerInterface>, Node secret key does not exist. Use the CLI to generate keys.)

Edit the ~/.lightning/config.toml to include the full location for the PEM files. For example, let's say that it's located under /home/skywalker that'd look like:

[signer]
consensus_key_path = "/home/skywalker/.lightning/keystore/consensus.pem"
node_key_path = "/home/skywalker/.lightning/keystore/node.pem"

To learn more about how file permissions and ownership work, you're advised to read the reference document here.