Does anyone know how to force DotNetNuke 6 to use TLS1.2 as a default sitewide?
I found a module for DotNetNuke 7 and above but the IServiceRouteMapper doesn't existing in the earlier version of DotNetNuke, this is what i found for DotNetNuke 7+
using DotNetNuke.Web.Api;
using System.Net;
namespace DotNetNuke.Security.Tls12
{
public class ServiceRouteMapper : IServiceRouteMapper
{
public void RegisterRoutes(IMapRoute mapRouteManager)
{
// Enable TLS 1.2
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12; // .NET 4.5
}
}
}
You should upgrade DNN. DNN 6 is really very old, and has a lot of security issues. The recent version is 9.8.0.
I think for DNN 6 this can only be done in IIS, but that means: for all sites on the server. See here for details.