Has anybody done any work on retrieving (probably via an analysis) the expiry date for standard ssl certificates on Windows servers? I’ve got scripts for Unix servers but my knowledge of Windows is limited to the desktop not Servers.
I’ve done something in past prior to us using BigFix where I created a vbscript to part out the results of “certutil -v -store my” and write values to the registry.
I’d hope there is a better way (as the regex to parse name isn’t perfect) but I haven’t looked too much into it. Below is a sample of a webreport to read the data. Has Server, Last run time (of the certutil task), start date, end date, and name (not 100% perfect).