Page 1 of 1

What happens when an openssl certificate expires?

Posted: Wed Aug 03, 2011 5:09 pm
by mecha_godzilla
For an application I'm working on I created a script that would generate an openssl key pair and then encrypt the decryption key with the user's password and some other information and save the encryption key on the server.

As I understand it, the openssl.cnf file on the server is used to set the expiry date of the certificate (IE 365 days from the date of creation, or whatever) but what happens when the certificate expires? Will PHP still allow the key pair to be used or will I get some horrible FATAL error when I'm least expecting it? :mrgreen:

Thanks in advance,

Mecha Godzilla

Re: What happens when an openssl certificate expires?

Posted: Mon Aug 08, 2011 2:11 am
by Mordred
What happens when you (DUN DUN DUN *dramatic music*) ... try it?