-
Notifications
You must be signed in to change notification settings - Fork 77
Open
Description
Hi, thanks for the great work making this repo.
I used the start guide, generated the cert and the key using certbot.
I set variables SSL_CERT and SSL_CERT_KEY in panel.env. After I start panel, in logs I see
docker-compose logs -f panel
pterodactyl-panel-1 | [tls-config] Cannot find SSL certificate and/or key, not injecting tls rules.
I connected to the panel pod with /bin/sh checked that variables are set in the environment, executed the entry point tls-config helper and got this:
sh-5.1# ./entrypoint.d/20-tls-config.sh
[tls-config] Using external certificates.
It means the code does see the varialbles. Any idea why it does not work for the panel starting procedure? Any tips on how to debug?
---- Update
the problem happens when executing as caddy user
[root@ecee86afbe49 /]# runuser --user caddy ./entrypoint.d/20-tls-config.sh
[tls-config] Cannot find SSL certificate and/or key, not injecting tls rules.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels