Skip to content

Commit

Permalink
Merge pull request #1355 from hajkmap/feature/1354-tls12-support
Browse files Browse the repository at this point in the history
Added support for TLS 1.2 and 1.1
  • Loading branch information
jesade-vbg authored Jun 21, 2023
2 parents 5e3f024 + 260211e commit dbbc37e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions backend/mapservice/Global.asax.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,16 @@
using System.Web.Mvc;
using System.Web.Routing;
using log4net;
using System.Net;

namespace MapService
{
public class WebApiApplication : System.Web.HttpApplication
{
protected void Application_Start()
{
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11;

log4net.Config.XmlConfigurator.Configure();
GlobalConfiguration.Configure(WebApiConfig.Register);
RouteConfig.RegisterRoutes(RouteTable.Routes);
Expand Down

0 comments on commit dbbc37e

Please sign in to comment.