Easy CRL troubleshooting is just one click away in Windows Vista! Read on to learn how to enable crypto API2 (CAPI2) logging. For Windows XP and Windows Server 2003 you still have to use CAPIMON to find out what's going wrong with CRL checking.
Log on with local administrator permissions to the computer where the certificate verification failure occurs.
Click the Start menu. On the Administrative Tools menu, click Event Viewer.
In the left pane, expand the Application Logs container, expand Microsoft, expand Windows, and then expand the CAPI2 container. Select the Operational container.
On the Action menu, click Properties.
In the General tab, select the Enable logging check box, adjust the maximum log size and log maintenance according to your needs, and then click OK.
With CAPI2 logging turned on, all chain validation operations are logged in the event log: Application logs - Microsoft - Windows - CAPI2.
To find out what goes wrong with chain validation do the following:
Open the event log on the computer where the chain validation fails and make sure CAPI2 logging is enabled.
In Event Viewer, expand the following container structure in the left pane: Application logs - Microsoft - Windows - CAPI2 - Operational
In the right pane, select a log entry.
In the bottom window, click the Details tab, and then select the Friendly View.
You will clearly see which process has performed a CAPI2 operation and what the actual status code was.
Additional information about PKI troubleshooting on Vista is available on Technet. Refer to Troubleshooting PKI Problems on Windows Vista or download the documentation from the Microsoft Download Center.