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.

Advertisements

One thought on “How do you Query Certificate Authority?

Leave a Reply

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

WordPress.com Logo

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

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s