From 5b946405a09a4ec89e0d7664fabbf5015c7c62e8 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Sun, 9 Oct 2016 01:01:52 +0100 Subject: changes to regions ssl suport: verify if hostnames are validate by the selected cert, make clear that for now all regions need to have the same ExternalHostName if using sll (due to other code that needs to be changed later) --- OpenSim/Region/Application/OpenSimBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs index 62abf8e..90505e1 100644 --- a/OpenSim/Region/Application/OpenSimBase.cs +++ b/OpenSim/Region/Application/OpenSimBase.cs @@ -417,7 +417,7 @@ namespace OpenSim regionInfo.HttpPort = m_httpServerPort; if(m_httpServerSSL) { - if(m_networkServersInfo.HttpSSLCN != regionInfo.ExternalHostName) + if(!m_httpServer.CheckSSLCertHost(regionInfo.ExternalHostName)) throw new Exception("main http cert CN doesn't match region External IP"); regionInfo.ServerURI = "https://" + regionInfo.ExternalHostName + -- cgit v1.1