Re: SslSteam causes spurious http connection attempts
- From: "Eugene V. Bobukh [MS]" <eugenebo@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 28 Mar 2007 17:23:04 -0700
If my memory serves me right, the behavior might be expected.
First, validation of the certificate may require the download of certificates of the parent authorities.
Second, as it was correctly mentioned, validating the cert includes checking its revocation list. And I would really *not* recommend to drop this check, since without it you still will be able to connect say to a phishing site after its certificate was revoked by the issuing authority.
It's a question though why the verification takes that long. Although the delays like that might be rarely expected, those should not be common. I would suspect there is something wrong either with the network, or with the cert you provide, but honestly have no really deep thoughts on that.
Thanks,
Eugene V. Bobukh
"davidkclark" <davidkclark@xxxxxxxxx> wrote in message news:1175028384.691266.265100@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Mar 27, 4:06 pm, "Henning Krause [MVP - Exchange]".
<newsgroups_rem...@xxxxxxxxxxxxxxxxx> wrote:
I would guess that the SslStream is checking the revocation status of the
remote certificate.
That is what I thought too. This is what I am doing currently:
TcpClient client = new TcpClient("127.0.0.1", 50051);
SslStream ssl = new SslStream(client.GetStream(), false, new
RemoteCertificateValidationCallback(ValidateServerCertificate), null);
ssl.AuthenticateAsClient("", null,
System.Security.Authentication.SslProtocols.Ssl3, false);
My ValidateServerCertificate does simply: return true;
So it really should not be checking the revocation list... (I guess
that it is possible that it is the SSL server doing the check...)
Thanks for your help
- Follow-Ups:
- Re: SslSteam causes spurious http connection attempts
- From: davidkclark
- Re: SslSteam causes spurious http connection attempts
- References:
- SslSteam causes spurious http connection attempts
- From: davidkclark
- Re: SslSteam causes spurious http connection attempts
- From: Henning Krause [MVP - Exchange]
- Re: SslSteam causes spurious http connection attempts
- From: davidkclark
- SslSteam causes spurious http connection attempts
- Prev by Date: Re: Xmldsig Countersignature DigestValue
- Next by Date: security
- Previous by thread: Re: SslSteam causes spurious http connection attempts
- Next by thread: Re: SslSteam causes spurious http connection attempts
- Index(es):
Relevant Pages
|