mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 04:05:42 +08:00
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)
This commit is contained in:
@@ -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 +
|
||||
|
||||
Reference in New Issue
Block a user