[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 5559
  • Last Modified:

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.
0
Sevy0622
Asked:
Sevy0622
  • 4
  • 3
  • 2
  • +1
1 Solution
 
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
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
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

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 4
  • 3
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now