[GH-ISSUE #793] missing domain for SSL in managment.json cant sign in #1390

Closed
opened 2026-08-05 00:42:18 -04:00 by saavagebueno · 4 comments
Owner

Originally created by @tjsims1 on GitHub (Apr 6, 2023).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/793

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). Original GitHub issue: https://github.com/netbirdio/netbird/issues/793 **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?

<!-- gh-comment-id:1499468483 --> @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

<!-- gh-comment-id:1499498913 --> @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

<!-- gh-comment-id:1499672752 --> @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

<!-- gh-comment-id:1499690160 --> @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.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#1390