diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Modules/InterGrid/OpenGridProtocolModule.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Modules/InterGrid/OpenGridProtocolModule.cs b/OpenSim/Region/Environment/Modules/InterGrid/OpenGridProtocolModule.cs index 5874d9b..89a01f0 100644 --- a/OpenSim/Region/Environment/Modules/InterGrid/OpenGridProtocolModule.cs +++ b/OpenSim/Region/Environment/Modules/InterGrid/OpenGridProtocolModule.cs | |||
@@ -114,7 +114,14 @@ namespace OpenSim.Region.Environment.Modules.InterGrid | |||
114 | if (m_scene.Count == 0) | 114 | if (m_scene.Count == 0) |
115 | { | 115 | { |
116 | scene.AddLLSDHandler("/agent/", ProcessAgentDomainMessage); | 116 | scene.AddLLSDHandler("/agent/", ProcessAgentDomainMessage); |
117 | ServicePointManager.ServerCertificateValidationCallback += customXertificateValidation; | 117 | try |
118 | { | ||
119 | ServicePointManager.ServerCertificateValidationCallback += customXertificateValidation; | ||
120 | } | ||
121 | catch (NotImplementedException) | ||
122 | { | ||
123 | m_log.Error("[OGP]: Certificate validation handler change not supported. You may get ssl certificate validation errors teleporting from your region to some SSL regions."); | ||
124 | } | ||
118 | } | 125 | } |
119 | 126 | ||
120 | if (!m_scene.Contains(scene)) | 127 | if (!m_scene.Contains(scene)) |