[GH-ISSUE #5347] Allow Reverse Proxy to skip tls validation for internal resources #11084

Closed
opened 2026-08-05 01:28:25 -04:00 by saavagebueno · 12 comments
Owner

Originally created by @marcportabellaclotet-mt on GitHub (Feb 16, 2026).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/5347

Is your feature request related to a problem? Please describe.
I am testing the new functionality of reverse proxy. I have several internal endpoints, which do not have a fqdn, like https://10.230.10.2.
When trying to reverse proxy this endpoints, I get 502 error:

2026-02-16T15:22:51Z WARN proxy/internal/proxy/reverseproxy.go:297: proxy error: request_id=d69jciu7k84s7389nslg client_ip=10.1.130.197 method=GET host=test.netbird-proxy.examplw.com path=/ status=502 title="Connection Error" err=tls: failed to verify certificate: x509: certificate signed by unknown authority

Describe the solution you'd like
I would like the option to add a new env variable, something like NB_PROXY_INSECURE_SKIP_VERIFY, which alows insecure connection to internal resources.

Originally created by @marcportabellaclotet-mt on GitHub (Feb 16, 2026). Original GitHub issue: https://github.com/netbirdio/netbird/issues/5347 **Is your feature request related to a problem? Please describe.** I am testing the new functionality of reverse proxy. I have several internal endpoints, which do not have a fqdn, like https://10.230.10.2. When trying to reverse proxy this endpoints, I get 502 error: ``` 2026-02-16T15:22:51Z WARN proxy/internal/proxy/reverseproxy.go:297: proxy error: request_id=d69jciu7k84s7389nslg client_ip=10.1.130.197 method=GET host=test.netbird-proxy.examplw.com path=/ status=502 title="Connection Error" err=tls: failed to verify certificate: x509: certificate signed by unknown authority ``` **Describe the solution you'd like** I would like the option to add a new env variable, something like `NB_PROXY_INSECURE_SKIP_VERIFY`, which alows insecure connection to internal resources.
saavagebueno added the feature-request label 2026-08-05 01:28:25 -04:00
Author
Owner

@jeditec commented on GitHub (Feb 16, 2026):

This feature will be really useful, In my scenario I have most of the services hosted in the netbird server itself as it is the most powerful server I have, I have several services hosted that require https itself and I am facing the issue of seeing error like:

netbird-proxy | 2026-02-14T08:44:01Z WARN proxy/internal/proxy/reverseproxy.go:297: proxy error: request_id=d683bkcepbkc73e9bs20 client_ip=172.30.0.10 method=GET host=100.88.113.135:10443 path=/ status=502 title="Connection Error" err=tls: failed to verify certificate: x509: certificate is valid for 127.0.0.1, not 100.88.113.135

My only workaround is using http services (port 80) when possible but some of the services require https as http just redirects to https, making many of my docker containers not reachable. So having a skip tls verification will be a great option to have.

I upvote this request.

<!-- gh-comment-id:3912062825 --> @jeditec commented on GitHub (Feb 16, 2026): This feature will be really useful, In my scenario I have most of the services hosted in the netbird server itself as it is the most powerful server I have, I have several services hosted that require https itself and I am facing the issue of seeing error like: `netbird-proxy | 2026-02-14T08:44:01Z WARN proxy/internal/proxy/reverseproxy.go:297: proxy error: request_id=d683bkcepbkc73e9bs20 client_ip=172.30.0.10 method=GET host=100.88.113.135:10443 path=/ status=502 title="Connection Error" err=tls: failed to verify certificate: x509: certificate is valid for 127.0.0.1, not 100.88.113.135` My only workaround is using http services (port 80) when possible but some of the services require https as http just redirects to https, making many of my docker containers not reachable. So having a skip tls verification will be a great option to have. I upvote this request.
Author
Owner

@SuperKali commented on GitHub (Feb 18, 2026):

Yes, too for proxmox that use https port with auto generated certificate

<!-- gh-comment-id:3920391902 --> @SuperKali commented on GitHub (Feb 18, 2026): Yes, too for proxmox that use https port with auto generated certificate
Author
Owner

@tsugliani commented on GitHub (Feb 18, 2026):

+1 most internal self-hosted resources usually have generated self-signed/invalid certs.

<!-- gh-comment-id:3921124566 --> @tsugliani commented on GitHub (Feb 18, 2026): +1 most internal self-hosted resources usually have generated self-signed/invalid certs.
Author
Owner

@raptaml commented on GitHub (Feb 18, 2026):

+1 same issue here, that should be functional for exposing internal sites.

<!-- gh-comment-id:3921413621 --> @raptaml commented on GitHub (Feb 18, 2026): +1 same issue here, that should be functional for exposing internal sites.
Author
Owner

@brdcg commented on GitHub (Feb 18, 2026):

+1 from me

<!-- gh-comment-id:3921912696 --> @brdcg commented on GitHub (Feb 18, 2026): +1 from me
Author
Owner

@Nilox42 commented on GitHub (Feb 19, 2026):

+1 for me we really need this

<!-- gh-comment-id:3925638104 --> @Nilox42 commented on GitHub (Feb 19, 2026): +1 for me we really need this
Author
Owner

@BuddahsFever commented on GitHub (Feb 21, 2026):

And another +1

<!-- gh-comment-id:3938578512 --> @BuddahsFever commented on GitHub (Feb 21, 2026): And another +1
Author
Owner

@praetorxyn commented on GitHub (Feb 21, 2026):

+1 from me. I have valid certs for all my internal stuff as I use a local traefik already, but I STILL get this error because Proxy terminates TLS.

<!-- gh-comment-id:3939371326 --> @praetorxyn commented on GitHub (Feb 21, 2026): +1 from me. I have valid certs for all my internal stuff as I use a local traefik already, but I STILL get this error because Proxy terminates TLS.
Author
Owner

@ckibodeaux commented on GitHub (Feb 22, 2026):

+1

<!-- gh-comment-id:3940831614 --> @ckibodeaux commented on GitHub (Feb 22, 2026): +1
Author
Owner

@robertronq commented on GitHub (Feb 22, 2026):

This would be great. +1

<!-- gh-comment-id:3942002702 --> @robertronq commented on GitHub (Feb 22, 2026): This would be great. +1
Author
Owner

@desantienator commented on GitHub (Feb 24, 2026):

+1 for me also is there a current workaround i have tried enabling insecureSkipVerify: true in traefik but no joy

<!-- gh-comment-id:3954388426 --> @desantienator commented on GitHub (Feb 24, 2026): +1 for me also is there a current workaround i have tried enabling insecureSkipVerify: true in traefik but no joy
Author
Owner

@robertronq commented on GitHub (Feb 24, 2026):

+1 for me too.

<!-- gh-comment-id:3955431475 --> @robertronq commented on GitHub (Feb 24, 2026): +1 for me too.
Sign in to join this conversation.
No Label feature-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#11084