views:

41

answers:

2

I need to write an app that retrieves data on expiring SSL certs. What is the best way to locate this data for application purposes?

+1  A: 

X509Certificate2 Class:

  • NotBefore Property - Gets the date in local time on which a certificate becomes valid.

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

dtb
Thanks for the help. I will be writing this application in the upcoming month and let you know how it works out.
dan_vitch
+1  A: 

For your reference, here are a few applications that do this type of thing. They may give you some ideas regarding features and interface.

cert scanner

checkcertificate

certificate expiry reporter

cert expiry checker

bignum
Thanks for the info. I will look into those
dan_vitch