diff --git a/lib60870/CS104/ClientConnection.cs b/lib60870/CS104/ClientConnection.cs index a5eb9fc..53a4321 100644 --- a/lib60870/CS104/ClientConnection.cs +++ b/lib60870/CS104/ClientConnection.cs @@ -1242,7 +1242,7 @@ private void HandleConnection() try { - sslStream.AuthenticateAsServer(tlsSecInfo.OwnCertificate, true, System.Security.Authentication.SslProtocols.Tls, false); + sslStream.AuthenticateAsServer(tlsSecInfo.OwnCertificate, true, tlsSecInfo.TlsVersion, false); if (sslStream.IsAuthenticated == true) {