pull down to refresh
Thanks
^ Updated with what I know
I think we also assume the rest plugin is installed, right @ek?
Yes but it's built-in since v23.08 so after v23.08, one only needs to add the options to the start command, see configuration.
The certificate is the same as the one for gRPC which should be at ~/.lightning/mainnet/ca.pem.
Can you see it in there @siggy47? ~ is your home folder. Your hsm_secret should also be in that folder (the most important file to recover a CLN node).
I'll check. I was given the file certificate.pem by Start9 support. This may solve it.
btw if you're going to use tor you shouldn't need the certificate but you need to use --clnrest-protocol http
I am using tor, so how do I apply that?
oh no, why did I mention this option haha
I unfortunately don't have experience with Start9, but I guess Start9 gives you a way to configure CLN. If so, it should say 'CLNRest protocol' somewhere in the CLN config. It needs to be set to HTTP if you want to use tor without a certificate.
But you can also use tor, provide a certificate and not change the config, your choice.
Someone else I think, haven't started tinkering with CLN yet.
Thanks
Once you find the cert (iirc it should be called
ca.pem), you'll want to base64 encode it:openssl base64 -A -in <path>/ca.pem@endothermicdev might be able to help if I'm wrong
IIRC @OneOneSeven asked for a core lightning fix once