diff options
author | UbitUmarov | 2016-12-07 13:30:07 +0000 |
---|---|---|
committer | UbitUmarov | 2016-12-07 13:30:07 +0000 |
commit | 3a81642d979a84c5c2e666cb500e080d56f887ed (patch) | |
tree | 0f3302d414792ef3b3cb2046595561373f1ba19b /OpenSim/Server/ServerMain.cs | |
parent | add SSL certs validation options for robust to allow simple certificates, pos... (diff) | |
download | opensim-SC-3a81642d979a84c5c2e666cb500e080d56f887ed.zip opensim-SC-3a81642d979a84c5c2e666cb500e080d56f887ed.tar.gz opensim-SC-3a81642d979a84c5c2e666cb500e080d56f887ed.tar.bz2 opensim-SC-3a81642d979a84c5c2e666cb500e080d56f887ed.tar.xz |
add SSL certs validation options for regions to allow simple encriptation without any peer autentification using simple homemade (or even shared) certs.
Diffstat (limited to 'OpenSim/Server/ServerMain.cs')
-rw-r--r-- | OpenSim/Server/ServerMain.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Server/ServerMain.cs b/OpenSim/Server/ServerMain.cs index 190f60f..9d6a3d0 100644 --- a/OpenSim/Server/ServerMain.cs +++ b/OpenSim/Server/ServerMain.cs | |||
@@ -79,6 +79,7 @@ namespace OpenSim.Server | |||
79 | // Make sure we don't get outbound connections queueing | 79 | // Make sure we don't get outbound connections queueing |
80 | ServicePointManager.DefaultConnectionLimit = 50; | 80 | ServicePointManager.DefaultConnectionLimit = 50; |
81 | ServicePointManager.UseNagleAlgorithm = false; | 81 | ServicePointManager.UseNagleAlgorithm = false; |
82 | ServicePointManager.ServerCertificateValidationCallback = ValidateServerCertificate; | ||
82 | 83 | ||
83 | m_Server = new HttpServerBase("R.O.B.U.S.T.", args); | 84 | m_Server = new HttpServerBase("R.O.B.U.S.T.", args); |
84 | 85 | ||
@@ -94,7 +95,6 @@ namespace OpenSim.Server | |||
94 | m_NoVerifyCertChain = serverConfig.GetBoolean("NoVerifyCertChain", m_NoVerifyCertChain); | 95 | m_NoVerifyCertChain = serverConfig.GetBoolean("NoVerifyCertChain", m_NoVerifyCertChain); |
95 | m_NoVerifyCertHostname = serverConfig.GetBoolean("NoVerifyCertHostname", m_NoVerifyCertHostname); | 96 | m_NoVerifyCertHostname = serverConfig.GetBoolean("NoVerifyCertHostname", m_NoVerifyCertHostname); |
96 | 97 | ||
97 | ServicePointManager.ServerCertificateValidationCallback = ValidateServerCertificate; | ||
98 | 98 | ||
99 | string connList = serverConfig.GetString("ServiceConnectors", String.Empty); | 99 | string connList = serverConfig.GetString("ServiceConnectors", String.Empty); |
100 | 100 | ||