mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-20 00:31:17 -08:00
Tests that the localapi cert-status/ handler checks read access and returns the status as JSON, that LocalBackend.CertStatus goes through the hook, and that feature/acme's hook reports the same missing, valid and expired results as the C2N /tls-cert-status handler. Also tests that Client.CertStatus returns ErrCertStatusUnsupported for a 404 and not for other errors. Updates tailscale/corp#38175 Signed-off-by: chaosinthecrd <[email protected]>