Service Account (JWT) public certificate and a private key pair expiration can be postponed? | Community
Skip to main content
Level 4
December 15, 2023
Question

Service Account (JWT) public certificate and a private key pair expiration can be postponed?

  • December 15, 2023
  • 2 replies
  • 905 views

Hi community, 

 

as i read through the documentation it seems like it's not possible to postpone the expiration date of the certificate key pairs. 

So the only way it's to replace it? 

 

Thanks, i wanted to know if there is a way to not replace the cert.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

December 30, 2023

That's correct, typically you cannot extend the expiration date of a Service Account (JWT) public certificate and private key pair. The standard approach is to generate a new pair and replace the old one before it expires to ensure uninterrupted service.

 

Reagrds,

Veera Tech.

Level 3
February 23, 2024

Hi @nick_2024 ,

 

The expiration date of a public certificate and private key pair cannot be postponed. When a certificate is generated, it's issued with a specific validity period, after which it expires. This is a security measure designed to ensure that cryptographic keys are regularly updated, reducing the risk of unauthorized access or compromised security.

Once a certificate has expired, it's no longer considered trustworthy, and systems relying on it may reject connections or transactions. Therefore, the standard practice is to replace the expired certificate with a new one before it expires.

Postponing the expiration date of a certificate defeats the purpose of having expiration dates in the first place and would undermine the security benefits provided by certificate rotation.