From 2399b1bba1dad29e36c25c2db3a591c2ae4370ce Mon Sep 17 00:00:00 2001 From: Graham Krizek Date: Tue, 19 Dec 2023 22:00:06 -0600 Subject: [PATCH] Update the tmp cert validity to 120 days --- tls_manager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tls_manager.go b/tls_manager.go index 577d2fc6db..ffec7aa6a5 100644 --- a/tls_manager.go +++ b/tls_manager.go @@ -505,7 +505,7 @@ func (t *TLSManager) SetCertificateBeforeUnlock() ([]grpc.ServerOption, func (t *TLSManager) loadEphemeralCertificate() ([]byte, error) { rpcsLog.Infof("Generating ephemeral TLS certificates...") - tmpValidity := validityHours * time.Hour + tmpValidity := validityHours * time.Hour * 120 // Append .tmp to the end of the cert for differentiation. tmpCertPath := t.cfg.TLSCertPath + ".tmp"