Re: Schannel CertificateChainValidation failing
- From: "John Banes" <jabanes@xxxxxxxxxxx>
- Date: Wed, 28 Jan 2009 10:23:03 -0800
I can think of only two reasons why the certificate validation code would need to access the network.
1. You've enabled certificate revocation checking, and the validation code is attempting to fetch a CRL for one or more of the certificates in the certificate chain.
2. The validation code is attempting to retrieve an intermediate certificate from the net, or maybe even a root certificate. This should not be an issue if the client and server are configured correctly.
The server should be sending the end-entity certificate as well as all intermediate certificates to the client as part of the SSL handshake. The root certificate is not sent. If the server is not configured correctly (e.g. the intermediate certificates are not installed) then the intermediate certificates are not sent to the client, and the client has to connect to the net in attempt to find them (following the AIA extensions end-entity certificate).
The root certificate should be installed on the client machine already. Maybe the client-side validation code will attempt to find a suitable root certificate if it isn't installed, but I'm not too familiar with root certificate management stuff.
What version of Windows are you running?
If you were to post your client-side certificate validation code, then perhaps something else will come to mind.
Regards,
John
"Kenney" <Kenney@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:B49AEA54-B4AC-48F0-99C6-D007C7C689A8@xxxxxxxxxxxxxxxx
Hi,
I am trying to validate the certificate chain of a server sent certifcate
during the standard SSL handshake process. Validation is successful when the
system can access the internet, but as soon as the system is locked down (no
internet access) I am getting "...certifcate signature could not be
verified..." along with crypt32 errors about not able to update a 3rd Party
Serial Number.
Now I have noticed a flag CERT_CHAIN_DISABLE_AUTH_ROOT_AUTO_UPDATE on the
CertGetCertificateChain which states using this flag will inhibit the update
of 3rd party roots from the Winodws Web Server.
If I use this flag and the update is not performed will the server cert pass
validation as it seems to do in the open environment.
Cheers,
kenney
.
- Follow-Ups:
- Re: Schannel CertificateChainValidation failing
- From: Joe Kaplan
- Re: Schannel CertificateChainValidation failing
- References:
- Schannel CertificateChainValidation failing
- From: Kenney
- Schannel CertificateChainValidation failing
- Prev by Date: Re: Confusion over IO (Inherit Only) ACE on Vista
- Next by Date: Re: Schannel CertificateChainValidation failing
- Previous by thread: Schannel CertificateChainValidation failing
- Next by thread: Re: Schannel CertificateChainValidation failing
- Index(es):
Relevant Pages
|
Loading