Skip to content

failed to verify certicate after lnd certificate renewal #1968

@warioishere

Description

@warioishere

Title: AlbyHub fails to start after LND TLS certificate renewal - x509 certificate verification error

Environment:

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:

  1. LND TLS certificate expires
  2. Renew LND TLS certificate
  3. Attempt to start AlbyHub
  4. 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:

  1. Refresh/clear cached TLS certificate data
  2. Re-read the certificate files from disk on startup
  3. Provide a way to manually trigger certificate reload

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions