Core/SSL: Fix no ciphers available when running on linux. Also fix travis builds
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@ language: csharp
|
|||||||
dist: xenial
|
dist: xenial
|
||||||
sudo: required
|
sudo: required
|
||||||
mono: none
|
mono: none
|
||||||
dotnet: 3.1
|
dotnet: 5.0
|
||||||
script:
|
script:
|
||||||
- dotnet restore
|
- dotnet restore
|
||||||
- dotnet build
|
- dotnet build
|
||||||
@@ -79,7 +79,7 @@ namespace Framework.Networking
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
await _stream.AuthenticateAsServerAsync(certificate, false, SslProtocols.Tls, false);
|
await _stream.AuthenticateAsServerAsync(certificate, false, SslProtocols.Tls12, false);
|
||||||
}
|
}
|
||||||
catch(Exception ex)
|
catch(Exception ex)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user