lnd 0.15.5
I have a local network with two machines on it. Machine A runs Bitcoin Core and LND. Machine B has LND installed but I only want to use lncli to connect to the instance of LND running on Machine A. On Machine A, I can use lncli to connect to LND and it works fine. But I can't connect from Machine B. They both have the same version installed.
When I tried this the first time, it reported:
[lncli] rpc error: code = Unavailable desc = connection error: desc = "transport: authentication handshake failed: x509: certificate is valid for 127.0.0.1, ::1, 192.168.1.48, not 192.168.1.38"
So I deleted the TLS files from both machines and modified the config files to include:
tlsextraip=192.168.1.38
I changed the config files so that each includes the IP address of the other machine in its TLS files. However, when I try to connect to LND remotely using lncli, I now get the following error:
[lncli] rpc error: code = Unavailable desc = connection error: desc = "transport: authentication handshake failed: x509: certificate signed by unknown authority"
Is it possible to use lncli to connect remotely? If so, what might I be missing?