-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
In InitializeServerContext, it takes great pains to set the bits on sslContext.Options, e.g.
if ((enabledSslProtocols & SslProtocols.Ssl2) != SslProtocols.Ssl2)
{
sslContext.Options |= SslOptions.SSL_OP_NO_SSLv2;
}
...but then the options get summarily overwritten on line 172:
// Set the workaround options
sslContext.Options = SslOptions.SSL_OP_ALL;
Did it mean to do that? I'm in large part wondering because I'm running into an "error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number" when contacting this as an SslStream server, which purportedly happens if SSLv3 is not enabled in the Options.
(Of course, there's also a small comment in the code "// no SSLv3 support". Is that the case?)
Metadata
Metadata
Assignees
Labels
No labels