Get SSL Tracking Data

I need to write an application that retrieves SSL certificate expiration data. What is the best way to find this data for application purposes?

+2


a source to share


2 answers


X509Certificate2 class :



  • NotBefore Property - Gets the local time date when the certificate becomes valid.

  • NotAfter Property - Gets the local time date after which the certificate is no longer valid.

+1


a source


For your reference, here are a few apps that do this type of thing. They can give you some ideas for functions and interface.

cert scanner

checkcertificate



reporter certificate expiration

checking certificate expiration

+1


a source







All Articles