How to Examine any Certificate Revocation List in Windows with Certutil

Home > Blogs > Windows 7 > How to Examine any Certificate Revocation List in Windows with Certutil

How to Examine any Certificate Revocation List in Windows with Certutil

Like This Blog 6 Mike Danseglio
Added by August 6, 2013

Lots of different systems and platforms use certificates and Public Key Infrastructure (PKI). Many companies have decided to implement an internal Certification Authority to issue certificates to computers, users, and other Certification Authorities.

As you probably already know, when a certificate is considered untrustworthy it is listed in the issuing CA’s Certificate Revocation List (CRL). This is just a small file located somewhere accessible by URL, and is frequently hosted on Internet-facing web servers. This file is not in plaintext, so just dropping it into Notepad isn’t going to do you much good. But you may well need to examine a CRL to ensure a specific certificate is listed, to get an idea of the trustworthiness of a PKI provider, etc.

Here’s how to display the contents of a Certificate Revocation List in Windows.

Special Note: this technique works with Certificate Revocation Lists from any PKI issuer like VeriSign, GTE, GoDaddy, DigiCert, etc. It can come from a Linux PKI server, a Windows Certification Authority, or a hand-built system. Every CRL uses a standard format that this technique supports.

Steps to displaying a Certificate Revocation List

The steps to back up a Windows Certificate Server running on any version of Windows since Windows Server 2003 are the same. This includes Windows XP, Windows 7, Windows 8, as well as Windows Server 2008 and R2 and Windows Server 2012 and R2. They are:

Obtain the Certificate Revocation List from the CRL Distribution Point (CDP)

This is easier than you think. Open up almost any certificate issued from a CA and look for the CDP field. For example, here’s a VeriSign certificate that chains to a common VeriSign Enhanced Validation root. I’m displaying this by clicking the padlock in Google Chrome, but any browser will do.

001-Certificate-Revocation-List-in-Windows-with-Certutil

On the Details tab, the CRL Distribution Point field should always contain at least one URL that I can access from anywhere I’m expected to trust the certificate.

002-CRL-Distribution-Point-Certificate-Revocation-List-in-Windows-with-Certutil

So the CDP is on a public web server. I pop that URL into my browser and choose Save Attachment to put the CRL on my local computer.

003-SVRSecureG3-Certificate-Revocation-List-in-Windows-with-Certutil

Notice the cool icon! I’m sure the little red X is for naughty untrustworthy certificates.

Decode the Certificate Revocation List With Certutil

Now I open a Command Prompt, change to the directory that contains the CRL, and use the Certutil –dump command. In this case, I type Certutil –dump SVRSecureG3.crl and see the following results:

004-Certutil–dump-SVRSecureG3-crl-Certificate-Revocation-List-in-Windows-with-Certutil

Boom goes the dynamite! I see the serial number of each revoked certificate and the date of revocation along with appropriate crypto information including the issuer, date of issuance, and CRL signature. That’s pretty much all the information that’s in a CRL.

If you want more Windows PKI articles please be sure to drop me a comment.

Take care!
Mike Danseglio -CISSP / CEH
Interface Technical Training – Technical Director and Instructor

Videos You May Like

Government Edition – Encrypting a USB Flash Drive in Windows 10

0 265 2

In this video, Security Instructor Mike Danseglio demonstrates how to use BitLocker in Window 10 to secure files on a USB Flash drive that adhere to stricter data protection requirements as found inside Government entities. BitLocker 2-day instructor-led training is now available at Interface: BITLOCK: Planning and Deploying BitLocker Drive Encryption Training Video Transcription: Hi. … Continue reading Government Edition – Encrypting a USB Flash Drive in Windows 10

How to Build in a PSMethod to your PowerShell Code

0 65 0

In this video, PowerShell instructor Jason Yoder shows how to add Methods (PSMethod) to your code using free software that’s added into the PSObject. For instructor-led PowerShell courses, see our course schedule. Microsoft Windows PowerShell Training Download the Building Methods PowerShell script</a> used in this video. <# ╔══════════════════════════════════════════════════════════════════════════════╗ ║ ║ ║ Building Methods ║ ╟──────────────────────────────────────────────────────────────────────────────╢ … Continue reading How to Build in a PSMethod to your PowerShell Code

Configuring Windows Mobility Center and How to Turn it On and Off

1 1402 1

Video transcription Steve Fullmer: In our Windows training courses, we often share information about the Windows 8.1 Mobility Center. Mobility Center was introduced for mobile and laptop devices in Windows 7. It’s present and somewhat enhanced in Windows 8. Since we don’t have mobile devices in our classrooms, I decided to take a little bit … Continue reading Configuring Windows Mobility Center and How to Turn it On and Off

Write a Comment

See what people are saying...

    Share your thoughts...

    Please fill out the comment form below to post a reply.