Retrieve Data for SSL Tracking
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?
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.
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
精彩评论