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.
92 sats \ 12 replies \ @k00b 5h
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 5h
^ Updated with what I know
reply
0 sats \ 7 replies \ @k00b 5h
I think we also assume the rest plugin is installed, right @ek?
reply
136 sats \ 6 replies \ @ek 5h
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.