Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multi: always use Lit's TLS cert #499

Merged
merged 3 commits into from
Feb 23, 2023

Conversation

positiveblue
Copy link
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

Copy link
Member

@guggero guggero left a comment

Choose a reason for hiding this comment

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

Nice, LGTM 🎉

config.go Outdated Show resolved Hide resolved
doc/config-lnd-integrated.md Show resolved Hide resolved
Copy link
Member

@ellemouton ellemouton left a comment

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 👍

Copy link
Member

@ellemouton ellemouton left a comment

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
Copy link
Member

@guggero guggero left a comment

Choose a reason for hiding this comment

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

LGTM 🎉

Copy link
Member

@ellemouton ellemouton left a comment

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
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
Copy link
Member

guggero commented Feb 23, 2023

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