Certutil -view command
Hey all,
I am trying to dump CA database based on certificate template identifier..
For example: certutil -view -restrict "Certificate Template=x.x.x.x,NotAfter>=01/05/2011 08:00 AM" -out "xxxx"
So based on that example, instead of doing each certificate template one at a time, is there any way to do a "not equals to" one template in particular.
I would like to pull out ALL certificates except those issued by one particular template. Does anyone know if the certutil command can handle a not equal to operator in this sense...
Thanks!
April 28th, 2011 6:31pm
there is no 'not equals' operator.My weblog: http://en-us.sysadmins.lv
PowerShell PKI Module: http://pspki.codeplex.com
Free Windows Admin Tool Kit Click here and download it now
April 28th, 2011 7:11pm
Thanks Vadims.. as always.. :) :)
April 29th, 2011 1:26pm