Raza Mehdi's Blog

Archive for July, 2012

How to Renew Self-Signed Certificate in Linux?

by on Jul.05, 2012, under Others

Hi guys,

We can generate self-signed certificate in Linux using OpenSSL. One issue we may encounter is how to renew that certificate. No issues, this can accomplished using OpenSSL.

openssl x509 -x509toreq -signkey private.key -out newcert.csr -in oldcert.pem

where oldcert.pem is the old certificate. When you run the above command, its data will be imported into the certificate newcert.csr using the current private key private.key

Leave a Comment more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!