Can't connect to the SSL server that use only ephemeral ciphersuites (The Local Security Authority cannot be contacted)
问题 I'm trying to connect to the test server started with openssl (this limited ciphersuite combination is intended): openssl s_server -accept 443 -www -tls1_2 -cipher ECDHE:DHE:EDH -cert selfsignedcert.pem -key sskey.pem The code I use is similar to msdn's public static bool ValidateServerCertificate( object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors) { return true; } ... var client = new TcpClient(target, port); SslStream sslStream = new SslStream