tailscale/cmd
Andrew Dunham 2755f3843c health, net/tlsdial: add healthcheck for self-signed cert
When we make a connection to a server, we previously would verify with
the system roots, and then fall back to verifying with our baked-in
Let's Encrypt root if the system root cert verification failed.

We now explicitly check for, and log a health error on, self-signed
certificates. Additionally, we now always verify against our baked-in
Let's Encrypt root certificate and log an error if that isn't
successful. We don't consider this a health failure, since if we ever
change our server certificate issuer in the future older non-updated
versions of Tailscale will no longer be healthy despite being able to
connect.

Updates #3198

Change-Id: I00be5ceb8afee544ee795e3c7a2815476abc4abf
Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
2023-02-01 23:17:41 -05:00
..
addlicense all: update tools that manage copyright headers 2023-01-27 15:36:29 -08:00
cloner all: update tools that manage copyright headers 2023-01-27 15:36:29 -08:00
containerboot all: update copyright and license headers 2023-01-27 15:36:29 -08:00
derper health, net/tlsdial: add healthcheck for self-signed cert 2023-02-01 23:17:41 -05:00
derpprobe cmd/derpprobe: migrate to the prober framework 2023-01-31 10:47:42 +00:00
gitops-pusher all: update copyright and license headers 2023-01-27 15:36:29 -08:00
hello all: update copyright and license headers 2023-01-27 15:36:29 -08:00
k8s-operator cmd/k8s-operator: use unstable tailscale image as well 2023-01-27 21:34:28 -08:00
mkmanifest all: update copyright and license headers 2023-01-27 15:36:29 -08:00
mkpkg all: update copyright and license headers 2023-01-27 15:36:29 -08:00
nardump all: update copyright and license headers 2023-01-27 15:36:29 -08:00
netlogfmt all: update copyright and license headers 2023-01-27 15:36:29 -08:00
nginx-auth all: update copyright and license headers 2023-01-27 15:36:29 -08:00
pgproxy all: update copyright and license headers 2023-01-27 15:36:29 -08:00
printdep all: update copyright and license headers 2023-01-27 15:36:29 -08:00
proxy-to-grafana all: update copyright and license headers 2023-01-27 15:36:29 -08:00
speedtest all: update copyright and license headers 2023-01-27 15:36:29 -08:00
ssh-auth-none-demo all: update copyright and license headers 2023-01-27 15:36:29 -08:00
stunc all: update copyright and license headers 2023-01-27 15:36:29 -08:00
sync-containers all: update copyright and license headers 2023-01-27 15:36:29 -08:00
tailscale health, net/tlsdial: add healthcheck for self-signed cert 2023-02-01 23:17:41 -05:00
tailscaled all: update to Go 1.20, use strings.CutPrefix/Suffix instead of our fork 2023-02-01 15:23:54 -08:00
testcontrol all: update copyright and license headers 2023-01-27 15:36:29 -08:00
testwrapper all: update copyright and license headers 2023-01-27 15:36:29 -08:00
tsconnect cmd/tsconnect: update to xterm.js 5.1 2023-01-31 13:07:28 -08:00
tsshd all: update copyright and license headers 2023-01-27 15:36:29 -08:00
viewer all: update tools that manage copyright headers 2023-01-27 15:36:29 -08:00