If the current date is "after" the date set here, the certificate will be invalid.
A TimeSpan representing the amount of time from now that the Certificate will be valid. This must be larger than dateBefore
cert.dateAfterOffset = TimeSpan.seconds(86400 * 365); // Certificate is valid up to one year from now
See Implementation
If the current date is "after" the date set here, the certificate will be invalid.