Skip to content

multi: always use Lit's TLS cert#499

Merged
guggero merged 3 commits into
lightninglabs:masterfrom
positiveblue:lit-tls-cert
Feb 23, 2023
Merged

multi: always use Lit's TLS cert#499
guggero merged 3 commits into
lightninglabs:masterfrom
positiveblue:lit-tls-cert

Conversation

@positiveblue

Copy link
Copy Markdown
Contributor

In this commit, we remove Lit's dependency on LND's tls cert in integrated mode. With this commit, even if Lit is started in integrated mode, it will create its own tls cert to use for serving the webserver.

Was part of #442

@guggero guggero left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, LGTM 🎉

Comment thread config.go Outdated
Comment thread doc/config-lnd-integrated.md

@ellemouton ellemouton left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM once Oli's comments are addressed 👍

@ellemouton ellemouton left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops - actually - Looks like this diff causes the itests to never clean up...

@positiveblue
positiveblue force-pushed the lit-tls-cert branch 2 times, most recently from c4b33a8 to 1451b68 Compare February 23, 2023 11:51

@guggero guggero left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🎉

@ellemouton ellemouton left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Niiiiice 🔥 Thanks @positiveblue !!!

Just needs a rebase and then we are g2g 🚀

ellemouton and others added 3 commits February 23, 2023 07:35
In this commit, we remove Lit's dependency on LND's tls cert in
integrated mode. With this commit, even if Lit is started in integrated
mode, it will create its own tls cert to use for serving the webserver.
Close connections when we are not going to use them anymore (usually a
`defer` is enough)
@positiveblue

Copy link
Copy Markdown
Contributor Author

👀 it was a rebase without any conflicts... Is this a limitation that applies to this project for some specific reason (js? or something?)

@guggero

guggero commented Feb 23, 2023

Copy link
Copy Markdown
Contributor

I think it's a specific branch protection setting in this repo.

@guggero
guggero merged commit 234e47f into lightninglabs:master Feb 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants