Hidden features for Windows Cert exporting

I have a love-hate relationship with software where options are not documented, or not well documented. Take for instance the ‘certutil’ executable in the Server 2003 Resources. There is NO better way to retrieve a list/number of certs from the server, but the last time I had a major backup to do was a while back, so tonight, I had to do it all over again. Ugh…

Anyways, It’s done, and I’m now a couple hundred PFX files happier. For anyone interested in the ‘how’, try using the following, remember that Microsoft IDs the certs from 0 up, so:

Start with a for loop:

for /L %a in (1,1,200) DO

add in the cert process:

certutil -p password -exportPFX %a cert%a.pfx

set those together, and you get a really nice list of PFX files to import into a new server, there’s even an option to -importPFX to allow that function to run smoothly, though I won’t get into that one today.

This entry was posted in Uncategorized. Bookmark the permalink.

11 Responses to Hidden features for Windows Cert exporting

  1. Kanesha says:

    Very good put up, I am viewing back usually looking for up-grades.

  2. Marianna says:

    good article, trendy website theme, keep up the great work

  3. Because I see you being a cooler and a much more productive version of me, I printed out this post for my pops to read. If dad did not already, he definitely thinks I’m insane now.

  4. Jenny says:

    One or two to reemmebr, that is.

  5. Hong Hoevel says:

    Haha wow you’re such a tease I read through the whole post, and I still have to stick around for the best of your blog.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>