How do you Query Certificate Authority?

I learned how to query Certificate Authority to get list of generated certificates.  I need to grab all generated machine certificates (Cert Template: Computer/Machine) to figure out which machine got the certificate.

The following command list all machine certificates generated to all domain machines. 

certutil -view -config "<FQDN of Certificate Authority Server>\<Certificate Authority Name>" -restrict "Certificate Template=Machine" /out "Certificate template,issued Common Name" > CertList.txt

you need provide FQDN of the Certificate Authority server name and Certificate Authority name. To find the name of your certificate authority, open the Certificate Authority console and see the root node name.

One thought on “How do you Query Certificate Authority?

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s