mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
* It turns out that Mono doesn't currently support setting the Certificate validation handler, however, it throws a NotImplemented exception.
* Added Try/Catch/Message
This commit is contained in:
@@ -114,7 +114,14 @@ namespace OpenSim.Region.Environment.Modules.InterGrid
|
||||
if (m_scene.Count == 0)
|
||||
{
|
||||
scene.AddLLSDHandler("/agent/", ProcessAgentDomainMessage);
|
||||
ServicePointManager.ServerCertificateValidationCallback += customXertificateValidation;
|
||||
try
|
||||
{
|
||||
ServicePointManager.ServerCertificateValidationCallback += customXertificateValidation;
|
||||
}
|
||||
catch (NotImplementedException)
|
||||
{
|
||||
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.");
|
||||
}
|
||||
}
|
||||
|
||||
if (!m_scene.Contains(scene))
|
||||
|
||||
Reference in New Issue
Block a user