mz-automation / lib60870.NET

Official repository for lib60870.NET an implementation of the IEC 60870-5-101/104 protocols in C#
https://www.mz-automation.de/communication-protocols/iec-60870-5-101-104-c-net-source-code-library/
GNU General Public License v3.0
123 stars 75 forks source link

Bugfix: TLS version to be picked up from config - it is currently hardwired #28

Open psnx opened 1 year ago

psnx commented 1 year ago

BUG: TLS version is hardwired to TLS 1.0 It should be picked up from the tlsSecInfo object. This bug prevents the use of TLS as Tls 1.0 is not supported anymore (in most cases) The default None setting will then also makes sense, and lets the operating system pick the best available protocol, see:

https://learn.microsoft.com/en-us/dotnet/api/System.Security.Authentication.SslProtocols?view=net-7.0