mirror of
https://github.com/fosrl/pangolin.git
synced 2026-07-19 08:05:10 -05:00
[GH-ISSUE #192] after installation, the pangolin dashboard has a self-signed certificate and newt cannot connect #3276
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @badbrain79 on GitHub (Feb 12, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/192
Hello,
First of all, thank you for your work on the project.
I have installed pangolin on a cloud server with ubuntu 24.04 and then open the dashboard and started the newt container with the id and the secret at my home.
In the logs of newt you can see that it cannot connect because pangolin uses a self-signed certificate:
ERROR: 2025/02/12 06:24:15 Failed to connect: failed to get token: failed to request new token: Post "https://..nas64.de/api/v1/auth/newt/get-token": tls: failed to verify certificate: x509: certificate is valid for 0f16e4fb9bddcc8a8c8b8e757a886c86.2e01c1244bc60517e1a094928d7dc56e.traefik.default, not ..nas64.de. Retrying in 10s...
ERROR: 2025/02/12 06:24:25 Failed to connect: failed to get token: failed to request new token: Post "https://..nas64.de/api/v1/auth/newt/get-token": tls: failed to verify certificate: x509: certificate is valid for
(I have replaced the domain name with *)
but the DNS entry for the domain points to the cloud server with A and AAAA record
i'm not sure if pangolin creates a let's encrypt certificate itself or if i have to do it manually
@wkennedy commented on GitHub (Feb 13, 2025):
I'm seeing this as well, how did you resolve this?
EDIT: Just for anyone else that might run into this, I resolved it by configuring Traefik for DNS challenge:
https://docs.fossorial.io/Pangolin/Configuration/wildcard-certs#wildcard-config-for-dns-01-challenge