Skip to content

Commit

Permalink
Default cert expire time to 5 years
Browse files Browse the repository at this point in the history
Signed-off-by: Arko Dasgupta <arko@tetrate.io>
  • Loading branch information
arkodg committed Nov 10, 2023
1 parent c6bdff3 commit be52a77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/crypto/certgen.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const (
DefaultEnvoyDNSPrefix = "*"

// DefaultCertificateLifetime holds the default certificate lifetime (in days).
DefaultCertificateLifetime = 365
DefaultCertificateLifetime = 365 * 5

// keySize sets the RSA key size to 2048 bits. This is minimum recommended size
// for RSA keys.
Expand Down

0 comments on commit be52a77

Please sign in to comment.