From 62890978748304519d8e82b83be8dfed5ef577bc Mon Sep 17 00:00:00 2001 From: Jesse de Wit Date: Thu, 15 Jun 2023 10:15:13 +0200 Subject: [PATCH] add a reference to the genkey command --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 15584ea..b91f589 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ This is a simple example of an lspd that works with an [lnd](https://github.com/ 1. Compile lspd using `go build .` ### Before running -1. Create a random token (for instance using the command `openssl rand -base64 48`) +1. Create a random token (for instance using the command `openssl rand -base64 48`, or `./lspd genkey`) 1. Define the environment variables as described in sample.env. If `CERTMAGIC_DOMAIN` is defined, certificate for this domain is automatically obtained and renewed from Let's Encrypt. In this case, the port needs to be 443. If `CERTMAGIC_DOMAIN` is not defined, lspd needs to run behind a reverse proxy like treafik or nginx. ### Running lspd on LND