Skip to content

Commit cb95a62

Browse files
committed
Update lib60870 lib code to allow for TLS 1.2/1.3 connections to the IEC104 Server driver.
1 parent d233552 commit cb95a62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib60870.netcore/lib60870.netcore/lib60870/CS104/ClientConnection.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1252,7 +1252,7 @@ private void HandleConnection()
12521252

12531253
try
12541254
{
1255-
sslStream.AuthenticateAsServer(tlsSecInfo.OwnCertificate, true, System.Security.Authentication.SslProtocols.Tls, false);
1255+
sslStream.AuthenticateAsServer(tlsSecInfo.OwnCertificate, true, System.Security.Authentication.SslProtocols.Tls12 | System.Security.Authentication.SslProtocols.Tls13, false);
12561256

12571257
if (sslStream.IsAuthenticated == true)
12581258
{

0 commit comments

Comments
 (0)