tailscale/client/tailscale
Andrew Lytvynov e7bf6e716b
cmd/tailscale: add --min-validity flag to the cert command (#12822)
Some users run "tailscale cert" in a cron job to renew their
certificates on disk. The time until the next cron job run may be long
enough for the old cert to expire with our default heristics.

Add a `--min-validity` flag which ensures that the returned cert is
valid for at least the provided duration (unless it's longer than the
cert lifetime set by Let's Encrypt).

Updates #8725

Signed-off-by: Andrew Lytvynov <awly@tailscale.com>
2024-07-19 09:35:22 -07:00
..
apitype cmd/tailscale, ipn/ipnlocal: add suggest exit node CLI option (#11407) 2024-04-15 18:14:20 -04:00
example/servetls all: update copyright and license headers 2023-01-27 15:36:29 -08:00
acl.go client/tailscale: document ACLTestFailureSummary.User field 2024-07-18 08:02:49 -07:00
devices.go client/tailscale: add NodeID to device 2024-06-17 17:06:18 +02:00
dns.go various: add golangci-lint, fix issues (#7905) 2023-04-17 18:38:24 -04:00
keys.go client/tailscale: revert CreateKey API change, add Client.CreateKeyWithExpiry 2023-05-12 21:05:12 -07:00
localclient.go cmd/tailscale: add --min-validity flag to the cert command (#12822) 2024-07-19 09:35:22 -07:00
localclient_test.go ipn/localapi,client/tailscale,cmd/derper: add WhoIs lookup by nodekey, use in derper 2024-06-14 08:37:38 -07:00
required_version.go all: require Go 1.21 2023-08-08 21:15:08 -07:00
routes.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
tailnet.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
tailscale.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00