Jump to content
Sign in to follow this  

Delete Intermediate Certificate

Recommended Posts


I need to delete\remove a couple certs. I've tried with CertUtil.exe and CertMgr.exe. I think CertMgr.exe would work better, but I don't know enough about certs to understand what info from the cert I should be using to call it. Can anyone provide an example of a certmgr script to delete a cert?

I've been reading a lot of things like: http://msdn.microsoft.com/en-us/library/e78byta0%28VS.80%29.aspx

but I just don't understand what I should be entering to call the cert. None of my attempts have worked so far. I've tried below and have switched out the name for the sha1 hash, but get pretty much the same failure each time.

Error: Failed to find a certificate to delete

CertMgr Failed

Certmgr -del -c -n "Betrusted Production SSP CA A1" -s -r localMachine IntermediateCertificationAuthorities

Any ideas are greatly appreciated.


Share this post

Link to post
Share on other sites

Try "ca" in place of "IntermediateCertificationAuthorities".


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this