List Local Computer Personal Certificates

I need a script that will list a server's certificates that are stored in the Local Computer / Personal store.
I need to list the cerrt name and its expiration date.

Alternatively, I have tried extracting the information using the certutil tool, but have had no luck..... can this be accomplished with this tol?

Thanks in advance.
Sevy0622Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

rehanahmedsCommented:
it doesnt show under Certificates service console (MMC)??
0
rehanahmedsCommented:
make a new mmc and add snap ins for Certificate Templates, certificates

i m sure you can find the stored certificates in store specially in certificates mmc
0
RobSampsonCommented:
Hi, from what I can tell, this does not look possible with VBScript.  I am seeing IKeyMan and IKeyUtil pop up in my searches, but can't find where to get that from either......

Regards,

Rob.
0
Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

Sevy0622Author Commented:
Yes, it shows in teh snap-in...but.... i need to check certificates on over 1000 servers. It would be nice not to log into everyone.

Well... i'm open to scripts other than VBS too.

0
RobSampsonCommented:
If you have a look around for IKeyMan and IKeyUtil they look like command line utilities that could do the job....I can't find anywhere to download them, but maybe you'd have more luck.

Rob.
0
Sevy0622Author Commented:
OK, I figured it out.  Tuurns out the MS tool certutil.exe will dump the local computer store.
Review syntax at http://www.geocities.com/rick_lively/MANUALS/COMMANDS/C/CERTUTIF.HTM
Syntax I used is      certutil -store -v my
This will list all the certificates in the local computer / personal store, and dump all the certs properties.

Thanks everyone for your input!!!

Please close this question

0
RobSampsonCommented:
OK, good work.  Just to clarify, where does the command dump the output to?  I take it it's a file, but where is it stored by default?

To have this question closed, please post a request in the Community Support zone.

Regards,

Rob.
0
Sevy0622Author Commented:
Rob
The information is piped to the console. To save it to a file appedn    > filename.txt    to the command above
0
RobSampsonCommented:
Oh yeah, of course!  Thanks.

Regards,

Rob.
0
Computer101Commented:
PAQed with points refunded (250)

Computer101
EE Admin
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VB Script

From novice to tech pro — start learning today.