Skip to content

Commit

Permalink
Merge P/R 253 with master
Browse files Browse the repository at this point in the history
  • Loading branch information
BiggerNoise committed Oct 11, 2017
2 parents 5d2455b + 56b07ea commit 614d999
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions product/roundhouse.console/Program.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using System;
using System.Linq;
using System.Net;
using log4net;
using roundhouse.consoles;
using roundhouse.databases;
Expand Down Expand Up @@ -32,6 +33,8 @@ private static void Main(string[] args)
{
Log4NetAppender.configure();

init_security_protocol();

int exit_code = 0;

try
Expand Down Expand Up @@ -560,6 +563,12 @@ private static void run_diff_utility(ConfigurationPropertyHolder configuration)
}
}

public static void init_security_protocol()
{
// allow tls
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12 | SecurityProtocolType.Ssl3;
}

private static void run_update_check(ConfigurationPropertyHolder configuration)
{
if (!configuration.Silent)
Expand Down

0 comments on commit 614d999

Please sign in to comment.