mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-24 02:31:18 -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]>