tailscale/net
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
..
connstats all: update copyright and license headers 2023-01-27 15:36:29 -08:00
dns all: update to Go 1.20, use strings.CutPrefix/Suffix instead of our fork 2023-02-01 15:23:54 -08:00
dnscache all: update copyright and license headers 2023-01-27 15:36:29 -08:00
dnsfallback all: update copyright and license headers 2023-01-27 15:36:29 -08:00
flowtrack all: update copyright and license headers 2023-01-27 15:36:29 -08:00
interfaces all: update copyright and license headers 2023-01-27 15:36:29 -08:00
memnet net/memnet: rename from net/nettest 2023-01-30 13:03:32 -08:00
netaddr all: update copyright and license headers 2023-01-27 15:36:29 -08:00
netcheck all: update to Go 1.20, use strings.CutPrefix/Suffix instead of our fork 2023-02-01 15:23:54 -08:00
neterror all: update copyright and license headers 2023-01-27 15:36:29 -08:00
netknob all: update copyright and license headers 2023-01-27 15:36:29 -08:00
netns all: update copyright and license headers 2023-01-27 15:36:29 -08:00
netstat all: update copyright and license headers 2023-01-27 15:36:29 -08:00
netutil all: update copyright and license headers 2023-01-27 15:36:29 -08:00
packet all: update copyright and license headers 2023-01-27 15:36:29 -08:00
ping all: update copyright and license headers 2023-01-27 15:36:29 -08:00
portmapper all: update tools that manage copyright headers 2023-01-27 15:36:29 -08:00
proxymux all: update copyright and license headers 2023-01-27 15:36:29 -08:00
routetable all: update copyright and license headers 2023-01-27 15:36:29 -08:00
socks5 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
stun all: use Go 1.20's bytes.Clone 2023-02-01 17:39:18 -08:00
tlsdial health, net/tlsdial: add healthcheck for self-signed cert 2023-02-01 23:17:41 -05:00
tsaddr all: update copyright and license headers 2023-01-27 15:36:29 -08:00
tsdial all: update copyright and license headers 2023-01-27 15:36:29 -08:00
tshttpproxy all: update copyright and license headers 2023-01-27 15:36:29 -08:00
tstun all: update copyright and license headers 2023-01-27 15:36:29 -08:00
wsconn all: update copyright and license headers 2023-01-27 15:36:29 -08:00