diff --git a/EppLib/EppLib.csproj b/EppLib/EppLib.csproj index bb767e7..87f2441 100644 --- a/EppLib/EppLib.csproj +++ b/EppLib/EppLib.csproj @@ -4,7 +4,7 @@ netstandard2.0;net10.0 EppLib EppLib - 1.4.0 + 1.4.1 Code Maker Inc. and Contributors EppLib.NET provides a library that makes easy for registrars to interact with registries implementing the Extensible Provisioning Protocol (EPP). Includes extensions for CIRA (.CA), Nominet (.UK), IIS (.SE), Verisign Namestore, LaunchPhase and SecDNS. epp;registrar;registry;domain;rfc5730 @@ -13,7 +13,7 @@ https://github.com/CodeMakerInc/EppLib.NET.git git README.md - Adds a net10.0 target alongside netstandard2.0. Fixes an infinite loop at 100% CPU in TcpTransport.Read when the server closes the connection (#46). + Connect() now lets the operating system choose the TLS version (SslProtocols.None) instead of forcing TLS 1.0 when a client certificate is used. Recompile against this version to pick up the new default. true false false diff --git a/EppLib/ITransport.cs b/EppLib/ITransport.cs index 098cd27..efa6497 100644 --- a/EppLib/ITransport.cs +++ b/EppLib/ITransport.cs @@ -27,7 +27,7 @@ namespace EppLib { public interface ITransport : IDisposable { - void Connect(SslProtocols sslProtocols = SslProtocols.Tls); + void Connect(SslProtocols sslProtocols = SslProtocols.None); void Disconnect(); void Write(XmlDocument xmlDocument); byte[] Read(); diff --git a/EppLib/Service.cs b/EppLib/Service.cs index 45e980c..a1a7d80 100755 --- a/EppLib/Service.cs +++ b/EppLib/Service.cs @@ -34,7 +34,8 @@ public Service(ITransport transport) /// /// Connects to the registry end point /// - public void Connect(SslProtocols sslProtocols = SslProtocols.Tls) + /// TLS versions to allow; the default lets the operating system choose. + public void Connect(SslProtocols sslProtocols = SslProtocols.None) { transport.Connect(sslProtocols); transport.Read();