Get the expiration date of the certificate's key.
A value of 0 means the certificate never expires.
a Certificate
the expiration date of the certificate's key or %-1 if unknown.