Extension of certificate expiry date

Viktor Dukhovni openssl-users at dukhovni.org
Mon Jun 8 23:15:48 UTC 2020


On Mon, Jun 08, 2020 at 04:01:37PM -0700, Anand Sridharan wrote:

> is there a way on openssl to extend the expiry of certificate date?
> 
> I created a certificate with an expiry date set for 365 days but looking
> now to extend it longer or indefinitely.

You need to sign a new certificate for the same subject name and public
key.  While it is possible to use an existing certificate as a
"template" the new certificate, it is often simpler to just create a new
one.  Is there any reason why that's not a good option for you?

-- 
    Viktor.


More information about the openssl-users mailing list