Problem with test certificate that does not have revocation list

Problem with test certificate that does not have revocation list

Secure Home | Search | About
 Microsoft Applications Security    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content add this group's latest topics to your Google content
Subject Author Date
Problem with test certificate that does not have revocation list Bruno Jouhier 01-10-2007
Posted by Bruno Jouhier on January 10, 2007, 12:22 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
Hello,

I am having a problem with certificate validation. My certificate trust
chain looks like the following:

My Cert -> Test Root -> Root

The X509Certificate2.Validate method returns false on "My Cert".

I investigated why with X509Chain and I found out that "Root" validates OK
but "Test Root" does not. On this element, I get a RevocationStatusUnknown
error, and then, of course, validation failed for "My Cert".

The "Test Root" certificate does not have any CDP (CRL Distribution Point)
property ("My Cert" has a CDP but "Test Root" does not). I think that this
explains why the certificate validation fails but I don't know what to do to
get the validation logic to ignore this condition. I tried various
combinations of Policy.RevocationMode/RevocationFlags/VerificationFlags on
the X509Chain object before calling the Build method but had no luck (Test
Root is never valid).

When I look at the certificate with the certificate manager, the status is
"valid", probably because this tool does a weaker verification than the .NET
API. Is there a way to relax the .NET verification rules and get the same
result in .NET as in the certificate manager?

I'll appreciate any help on this.

Bruno



Similar ThreadsPosted
Newbie -> Certificate revocation February 18, 2006, 8:06 pm
only test- solo test March 5, 2006, 6:41 am
Problem with certificate authority January 27, 2006, 9:03 am
pfx certificate chain problem March 21, 2006, 6:35 am
Problem in Certificate Authority February 23, 2007, 4:09 am
Web Certificate Enrollment security problem March 15, 2006, 2:57 am
Problem with WLAN IAS certificate enrollment May 16, 2008, 11:51 am
Certificate problem with Windows Server 2003 May 22, 2006, 12:25 pm
Problem with creating site server signing certificate template May 15, 2008, 2:43 pm
test one July 18, 2006, 5:59 pm

The site map in XML format XML site map

Contact Us | Privacy Policy