pull down to refresh

I'm trying to find the cert to use to attach an SN wallet to my core lightning node. I have the rest host and port, and have already created an invoice only rune. I am having trouble finding the certificate. The GUI for Core Lightning shows a macaroon. Could that be one and the same as the certificate? I tried it but it doesn't work. I followed the CLI path given to me by Start9 support to locate the certificate, but I'm not finding it. I'm sure I'm missing something basic. Any help would be appreciated.
56 sats \ 1 reply \ @Lumor 5 Mar
Here's how I got Start9+CLN+SN working: #863903
reply
Thanks! I used your post to get started along with another one. I'm so glad you replied, because I already have downloaded the Start9 ca. I am pretty ignorant about this stuff, and assumed the core lightning service would have its own ca that I would need to use. Thanks for clearing this up.
reply
92 sats \ 12 replies \ @k00b 4 Mar
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
reply
Someone else I think, haven't started tinkering with CLN yet.
reply
Thanks
reply
Thanks
reply
36 sats \ 8 replies \ @k00b 4 Mar
^ Updated with what I know
reply
0 sats \ 7 replies \ @k00b 4 Mar
I think we also assume the rest plugin is installed, right @ek?
reply
146 sats \ 6 replies \ @ek 4 Mar
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).
reply
I'll check. I was given the file certificate.pem by Start9 support. This may solve it.