missing domain for SSL in managment.json cant sign in #311

Closed
opened 2025-11-20 05:09:25 -05:00 by saavagebueno · 4 comments
Owner

Originally created by @tjsims1 on GitHub (Apr 6, 2023).

Describe the problem
Cant login as managment.json are missing domain for for the directory for the SSL Cert

To Reproduce
Steps to reproduce the behavior:

  1. new install
  2. setup your env
  3. run configure
  4. check managment.json
    "CertFile":"/etc/letsencrypt/live//fullchain.pem",
    "CertKey":"/etc/letsencrypt/live//privkey.pem",
    both certfile and certkey are missing domain
Originally created by @tjsims1 on GitHub (Apr 6, 2023). **Describe the problem** Cant login as managment.json are missing domain for for the directory for the SSL Cert **To Reproduce** Steps to reproduce the behavior: 1. new install 2. setup your env 3. run configure 4. check managment.json "CertFile":"/etc/letsencrypt/live//fullchain.pem", "CertKey":"/etc/letsencrypt/live//privkey.pem", both certfile and certkey are missing domain
Author
Owner

@braginini commented on GitHub (Apr 6, 2023):

Hi @tjsims1
What version are you using?

@braginini commented on GitHub (Apr 6, 2023): Hi @tjsims1 What version are you using?
Author
Owner

@tjsims1 commented on GitHub (Apr 6, 2023):

v0.15.2
but have tested back to 0.15.0 with the same issue

@tjsims1 commented on GitHub (Apr 6, 2023): v0.15.2 but have tested back to 0.15.0 with the same issue
Author
Owner

@mlsmaycon commented on GitHub (Apr 6, 2023):

@tjsims1 there is a bug for the variable in the last 2 releases. The fix will come in the PR https://github.com/netbirdio/netbird/pull/794

For the time being, please edit the generated management.json file and update the following lines:

        "CertFile":"/etc/letsencrypt/live//fullchain.pem",
        "CertKey":"/etc/letsencrypt/live//privkey.pem",

With your the correct paths:

        "CertFile":"/etc/letsencrypt/live/your.domain.com/fullchain.pem",
        "CertKey":"/etc/letsencrypt/live/your.domain.com/privkey.pem",

After that a simple docker-compose restart management will restore the service

@mlsmaycon commented on GitHub (Apr 6, 2023): @tjsims1 there is a bug for the variable in the last 2 releases. The fix will come in the PR https://github.com/netbirdio/netbird/pull/794 For the time being, please edit the generated `management.json` file and update the following lines: ```json "CertFile":"/etc/letsencrypt/live//fullchain.pem", "CertKey":"/etc/letsencrypt/live//privkey.pem", ``` With your the correct paths: ```json "CertFile":"/etc/letsencrypt/live/your.domain.com/fullchain.pem", "CertKey":"/etc/letsencrypt/live/your.domain.com/privkey.pem", ``` After that a simple `docker-compose restart management` will restore the service
Author
Owner

@tjsims1 commented on GitHub (Apr 6, 2023):

Awesome! Thank you, and I went ahead and edited it and it works

@tjsims1 commented on GitHub (Apr 6, 2023): Awesome! Thank you, and I went ahead and edited it and it works
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#311