ok ... did you try the same code on some other computer? Did it expose the same behavior? It's necessary to understand whether the issue is specific to one computer or it can be more or less consistently reproduced on any or at least several systems.

Some more deveoplments:
I ran the CertDemo.exe on the PC's which were responding very slowly. I noticed that loading a trust store on those PC's using CertDemo took very very long than loading it on my PC.
Yesterday i was debugging on a developer PC, and noticed that the Loading of the store was faster but validating was slower but not that slow.
The issue of slowness was reported from a QA PC's. To figure out what was wrong i ran the CertDemo on those PC's because i cannot debug code on them.
I noticed that loading a trust store took very long.
I wonder what makes it slow.
Do you still need a program?

The problem can't be reproduced on our side (at least without a sample) so it would be great to have a test. The test also helps you on your side: when you create a test from scratch sometimes you have a chance to see and correct the mistake in your code. Of course this doesn't work always, but it does work sometimes. So we always welcome a test.

Sample Attached..
The sample is just a modification of the SimpleSSLClient demo with our validation process.
I would also like to check with you guys if calling the Validate method on WinCertStorage will check for certificate validity.

There was a typo in the prev post.
I would like to know what the Validate method checks and in what order?
1. Issuer
2. Trusted CA
3. Date
If you look at the code, do you think we need the VaildateDate method?

1. Validity interval (date) is checked.
2. For self-signed certificates, TElX509Certificate.Validate is called.
3. For CA-signed certificates the CRL is checked, if it's present
4. For CA-signed certificates issuer certificate is looked for. If it's found, certificate in question is validated with the CA certificate. Only one issuer certificate is checked, i.e. the certificate chain is not built.

We use cookies to help provide you with the best possible online experience. By using this site, you agree that we may store and access cookies on your device. You can find out more about and set your own preferences here.