Closed micahstubbs closed 6 years ago
## Generate LND TLS cert
cd ~/.lnd
# delete old TLS cert and key
rm tls.cert
rm tls.key
# generate new TLS key
openssl ecparam -genkey -name prime256v1 -out tls.key
openssl req -new -sha256 -key tls.key -out csr.csr -subj '/CN=localhost/O=lnd'
# generate new TLS cert
openssl req -x509 -sha256 -days 36500 -key tls.key -in csr.csr -out tls.cert
rm csr.csr
attempt one, where I forget to delete the old tls cert first:
attempt two: