mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 22:05:36 +08:00
Adding ssl support
Adding ssl support for "Out of Band" applications such as the remote admin module or Robust services
This commit is contained in:
@@ -96,6 +96,22 @@ namespace OpenSim.Region.ClientStack
|
||||
|
||||
MainServer.Instance = m_httpServer;
|
||||
|
||||
// "OOB" Server
|
||||
if (m_networkServersInfo.ssl_listener)
|
||||
{
|
||||
BaseHttpServer server = null;
|
||||
server = new BaseHttpServer(
|
||||
m_networkServersInfo.https_port, m_networkServersInfo.ssl_listener, m_networkServersInfo.cert_path,
|
||||
m_networkServersInfo.cert_pass);
|
||||
// Add the server to m_Servers
|
||||
if(server != null)
|
||||
{
|
||||
m_log.InfoFormat("[REGION SERVER]: Starting HTTPS server on port {0}", server.Port);
|
||||
MainServer.AddHttpServer(server);
|
||||
server.Start();
|
||||
}
|
||||
}
|
||||
|
||||
base.StartupSpecific();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user