[GH-ISSUE #4400] relay When configuring the certificate for the relay node, the command is incorrect. How should it be configured #9079

Open
opened 2026-08-05 01:20:46 -04:00 by saavagebueno · 0 comments
Owner

Originally created by @wlytwmssjo-li on GitHub (Aug 26, 2025).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/4400

docker run -d --name netbird-relay -p 443:443 -p 80:80
-v /etc/letsencrypt/live/relay.example.com/fullchain.pem:/etc/netbird/cert.pem
-v /etc/letsencrypt/live/relay.example.com/privkey.pem:/etc/netbird/key.pem
-e NETBIRD_RELAY_SECRET="V/CwlSmY4Q+DccPDtbWgi7ef/R0yaYUymVApQGPCJxs"
netbirdio/relay:latest
--tls-cert /etc/netbird/cert.pem --tls-key /etc/netbird/key.pem
a127be8d6765b72c0c5f236ef7aff8be0295b69fca723e3777e730af6cc2c60a
[root@VM-0-9-rockylinux relay.smartx.com]#
[root@VM-0-9-rockylinux relay.smartx.com]# docker logs netbird-relay | grep -i -E "tls|websocket|error"
2025-08-26T04:05:02Z FATL relay/main.go:11: failed to execute command: unknown flag: --tls-cert
[root@VM-0-9-rockylinux relay.smartx.com]# ^C

how to fix it ?

Originally created by @wlytwmssjo-li on GitHub (Aug 26, 2025). Original GitHub issue: https://github.com/netbirdio/netbird/issues/4400 docker run -d --name netbird-relay -p 443:443 -p 80:80 \ -v /etc/letsencrypt/live/relay.example.com/fullchain.pem:/etc/netbird/cert.pem \ -v /etc/letsencrypt/live/relay.example.com/privkey.pem:/etc/netbird/key.pem \ -e NETBIRD_RELAY_SECRET="V/CwlSmY4Q+DccPDtbWgi7ef/R0yaYUymVApQGPCJxs" \ netbirdio/relay:latest \ --tls-cert /etc/netbird/cert.pem --tls-key /etc/netbird/key.pem a127be8d6765b72c0c5f236ef7aff8be0295b69fca723e3777e730af6cc2c60a [root@VM-0-9-rockylinux relay.smartx.com]# [root@VM-0-9-rockylinux relay.smartx.com]# docker logs netbird-relay | grep -i -E "tls|websocket|error" 2025-08-26T04:05:02Z FATL relay/main.go:11: failed to execute command: unknown flag: --tls-cert [root@VM-0-9-rockylinux relay.smartx.com]# ^C how to fix it ?
saavagebueno added the triage-needed label 2026-08-05 01:20:46 -04:00
Sign in to join this conversation.
No Label triage-needed
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#9079