diff --git a/BTCPayServer/Views/Stores/AddLightningNode.cshtml b/BTCPayServer/Views/Stores/AddLightningNode.cshtml index c1ab6a21e..0a088380b 100644 --- a/BTCPayServer/Views/Stores/AddLightningNode.cshtml +++ b/BTCPayServer/Views/Stores/AddLightningNode.cshtml @@ -66,7 +66,7 @@

Note that the certthumbprint to connect to your LND node can be obtained through this command line:

-

openssl x509 -noout -fingerprint -sha256 -inform pem -in /root/.lnd/tls.cert

+

openssl x509 -noout -fingerprint -sha256 -inform pem -in /root/.lnd/tls.cert | sed -e 's/.*=//' -e 's/://g'

You can omit certthumbprint if you the certificate is trusted by your machine

You can set allowinsecure to true if your LND REST server is using HTTP or HTTPS with an untrusted certificate which you don't know the certthumbprint