Azure / azure-relay-bridge

Azure Relay Bridge - A cross-platform command line tool to create VPN-less TCP tunnels from and to anywhere
MIT License
121 stars 48 forks source link

Insecure mode for https forwarding #79

Closed paveliak closed 8 months ago

paveliak commented 8 months ago

This PR adds a boolean flag that allows to ignore certificate validation errors for https forwarding. It is akin to --insecure switch for curl. Confilg file has to be used to specify this flag.

The typical application for this change is a dev environment that uses self-signed certificates. A more concrete example could be exposing minikube api-server that runs behind NAT (e.g. in the Codespace). Starting from K8s 1.24 they stopped providing plain http access to the api-server and insecure https is the only option.