Information Technology Grimoire

Version .0.0.1

IT Notes from various projects because I forget, and hopefully they help you too.

certutil

Certutil

get help on certutil

certutil -?
certutil -dump -?
certutil -v -?
certutil --dump

dump certificate store

certutil -store

Valid cert?

certutil -f –urlfetch -verify mycertificatefile.cer
certutil –t 30 -f –urlfetch -verify <FilenameOfCertificate>

review and download the cert:

certutil –split -URL http://crl.microsoft.com/pki/crl/products/microsoftrootcert.crl

or

certutil –split -URL ldap://myLDAPserver/CN=MyCA,CN=CRL,CN=CDP,CN=Public%20Key%20Services,CN=Services,CN=Configuration,DC=contoso,DC=com?certificateRevocationList?base?objectClass=cRLDistributionPoint

examine cache

certutil –urlcache CRL