-
Notifications
You must be signed in to change notification settings - Fork 103
error certifficate wher run litd "transport: authentication handshake failed: tls: failed to verify certificate: x509: certificate signed by unknown authority" #831
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @asyscom - could you maybe provide some more info like what your TLDR: are you very sure that LiT is pointing at the correct, latest TLS cert path? |
Hello, Remote lnd optionsremote.lnd.rpcserver=127.0.0.1:10009 this is the output of command Path is correct and can read the certs p.s |
Hi @asyscom!
First of all, we who work on lightning-terminal have NOT sent you this link. Do not download it! Second of all, to try to resolve your issue: |
nothig to do, same error. Tls are all new: -rw-r--r-- 1 lit lit 843 Aug 26 10:11 tls.cert -rw-r--r-- 1 lnd lnd 769 Aug 26 10:11 tls.cert |
actuallly i'm using latest experimentale but the errors are the same of 13.3 |
I've this confiuration in nginx .conf, could be a problem? are self signed user www-data; events { http { stream { |
Thanks for the extra info and logs @asyscom! I'd just like to sanity check a few more things:
|
i've switched to 0.13.3-alpha, added lnd-mode="remote" in lit.confi star but same error Question: Tried from command line also but same certifcate error, this is output litd --lnd-mode="remote" --remote.lnd.rpcserver="127.0.0.1:10009" --remote.lnd.macaroonpath="/data/lnd/data/chain/bitcoin/mainnet/admin.macaroon" --remote.lnd.tlscertpath="/data/lnd/tls.cert" --uipassword=123456789
|
LIT connects correctly to LND, but it doesn't like the certificates or the version. However, this is a false error because the version is 18.2 2024-08-26 11:58:50.417 [INF] LITD: Retrying to create LND Services client |
Great, thanks! I'm not really able to recreate your issue, so just wanted to check if you could please share your From the logs you've just shared: It seems like you're having issues loading a config from that path just FYI. You've also specified that the lnd datadir should be Could you please double check that all of these paths are correct?
Are you refering to the config options for bitcoin in Faraday? If so, these are the config options that exists:
If you're refering to the line |
Hello, lnd.conf lit.conf The path to the macaroon and tls are link bur readable without problem from user lit The macaroon of faraday and loop not exist in path specified in lit.conf, is it correct? |
Oh, I see you've enabled Normally in Lines 159 to 165 in a9c5764
I'm assuming you intentionally want use |
thanks! |
Disabling tlsencryptkey=true all works fine |
Great! If you do not explicitly want to run I've now checked locally, and managed to reproduce your error when If you want to explicitly run
In lightning Terminal ( When running So if you want to run Like I said though, if you don't want to explicitly run with Finally: |
Let me know if you're satisfied with the above! If so, I'll go ahead and close the issue. |
Yes absolutely yes! Close the issue |
Background
Hello, when run litd i've this error at login
Error when creating LND Services client: error subscribing to lnd wallet state: lnd version incompatible, need at least v0.13.0-beta, got error on state subscription: rpc error: code = Unavailable desc = connection error: desc = "transport: authentication handshake failed: tls: failed to verify certificate: x509: certificate signed by unknown authority"
LND is not running. Please start lnd and try again.
Your environment
lit version 13.3
lnd versione 18.2
Ubuntu 22.4
bitcoind version 27.1.0
In journal ive this
024-08-26 09:03:23.431 [DBG] GRPC: [core] Creating new client transport to "{Addr: "127.0.0.1:10009", ServerName: "127.0.0.1:10009", }": connection error: desc = "transport: authentication handshake failed: tls: failed to verify certificate: x509: certificate signed by unknown authority"
Of course, LND and Bitcoin are functioning correctly, and the TLS settings are correct because they are also used by other software like BOS.
The text was updated successfully, but these errors were encountered: