Re: SslSteam causes spurious http connection attempts



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

.