mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-26 19:46:27 -08:00
Covers not-yet-valid, untrusted CA (in date and expired), name mismatch, cert/key mismatch and bad PEM through the C2N handler and LocalBackend.CertStatus, and checks that getCertPEM still goes on to issue a new cert for each unusable cached cert. Also checks that each certStore returns errCertInvalid for a name mismatch. Updates #22304 Signed-off-by: chaosinthecrd <[email protected]>