mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 01:35:46 +08:00
add SSL certs validation options for regions to allow simple encriptation without any peer autentification using simple homemade (or even shared) certs.
This commit is contained in:
@@ -79,6 +79,7 @@ namespace OpenSim.Server
|
||||
// Make sure we don't get outbound connections queueing
|
||||
ServicePointManager.DefaultConnectionLimit = 50;
|
||||
ServicePointManager.UseNagleAlgorithm = false;
|
||||
ServicePointManager.ServerCertificateValidationCallback = ValidateServerCertificate;
|
||||
|
||||
m_Server = new HttpServerBase("R.O.B.U.S.T.", args);
|
||||
|
||||
@@ -94,7 +95,6 @@ namespace OpenSim.Server
|
||||
m_NoVerifyCertChain = serverConfig.GetBoolean("NoVerifyCertChain", m_NoVerifyCertChain);
|
||||
m_NoVerifyCertHostname = serverConfig.GetBoolean("NoVerifyCertHostname", m_NoVerifyCertHostname);
|
||||
|
||||
ServicePointManager.ServerCertificateValidationCallback = ValidateServerCertificate;
|
||||
|
||||
string connList = serverConfig.GetString("ServiceConnectors", String.Empty);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user