-
Notifications
You must be signed in to change notification settings - Fork 86
Open
Milestone
Description
Title: AlbyHub fails to start after LND TLS certificate renewal - x509 certificate verification error
Environment:
- AlbyHub version: 1.21.0
- LND version: 0.20.0-beta
- OS: Ubuntu 24.04
- Installation method: Official Linux x86_64 script (https://github.com/getAlby/hub/tree/master/scripts/linux-x86_64)
- LND and AlbyHub running on the same server
Description:
AlbyHub fails to start after renewing the LND TLS certificate. The previous certificate had expired and was successfully renewed. Other applications (e.g., LNbits) are accepting and working with the new certificate without issues.
Error Message:
connection error: desc = "transport: authentication handshake failed: tls: failed to verify certificate: x509: certificate signed by unknown authority (possibly because of \"x509: ECDSA verification failure\" while trying to verify candidate authority certificate \"
Steps to Reproduce:
- LND TLS certificate expires
- Renew LND TLS certificate
- Attempt to start AlbyHub
- AlbyHub fails to connect to LND with the above error
Expected Behavior:
AlbyHub should accept the new TLS certificate and connect to LND successfully, similar to how other Lightning applications (LNbits) handle the certificate renewal.
Additional Context:
- The certificate renewal was done correctly as verified by other applications
- No issues with LND itself - it's running normally
- The error suggests AlbyHub might be caching the old certificate or certificate authority information
Possible Solution:
AlbyHub may need to either:
- Refresh/clear cached TLS certificate data
- Re-read the certificate files from disk on startup
- Provide a way to manually trigger certificate reload
Metadata
Metadata
Assignees
Labels
No labels