I'm trying to figure out why mono is rejecting one of my server's certs (while
not rejecting some others). I sprinkled WriteLines in the mono source, and I
ran with --debug --trace
The last line I ever reach is 635. And then exceptions are thrown. Neither
638 nor 641 is ever displayed. I don't know of any way this is physically
possible. I do have 6,000 lines of trace log starting with the WriteLine at
635, if anybody's interested to look at it...
(from 'mcs/class/Mono.Security/Mono.Security.Protocol.Tls/SslClientStream.cs')
internal override bool OnRemoteCertificateValidation(X509Certificate
certificate, int[] errors)
{
System.Console.Error.WriteLine("NEDDEBUG
'mcs/class/Mono.Security/Mono.Security.Protocol.Tls/SslClientStream.cs' line
635");
if (this.ServerCertValidation != null)
{
System.Console.Error.WriteLine("NEDDEBUG
'mcs/class/Mono.Security/Mono.Security.Protocol.Tls/SslClientStream.cs' line
638");
return this.ServerCertValidation(certificate, errors);
}
System.Console.Error.WriteLine("NEDDEBUG
'mcs/class/Mono.Security/Mono.Security.Protocol.Tls/SslClientStream.cs' line
641");
return (errors != null && errors.Length == 0);
}
_______________________________________________
Mono-devel-list mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/mono-devel-list