Re: Some Errors in certs this afternoon over OpenSim 0.9.2.0 Yeti Dev
Luisillo
居住地: Spain
投稿数: 80
Ubit wrote in mantis:
http://opensimulator.org/mantis/view.php?id=8688
ok i had a bug on uri parse and validation.
as Iseki identified, the module needs a little change of use the now embeeded http server (HttpServer_OpenSim.dll is gone its code was merge(and changed) into opensim. ( another code change below)
- the prebuild.xml should also be update to .net4.6
ServicePointManager.ServerCertificateValidationCallback SHOULD NOT BE changed!!!
function ValidateServerCertificate can be split into 2
like
ValidateServerCertificateNoCert(...)
{..
if (obj is HttpWebRequest)
return true;
...
and that if removed from the other one.
then on webrequests where it reads for example:
if (!checkServerCert) request.Headers.Add("NoVerifyCert", "true");
if should
set request.ServerCertificateValidationCallback = the respective validation
(this is now possible with .net46)
without this, other uses of https will fail!( like did on older opensim versions)
(pls let Iseki get this info, if he does not read this)
and if possible the module structure should be changed to be compiled under addon-modules. That makes a lot more easy to do a integrated debug.
i did it to debug this issue...
http://opensimulator.org/mantis/view.php?id=8688
ok i had a bug on uri parse and validation.
as Iseki identified, the module needs a little change of use the now embeeded http server (HttpServer_OpenSim.dll is gone its code was merge(and changed) into opensim. ( another code change below)
- the prebuild.xml should also be update to .net4.6
ServicePointManager.ServerCertificateValidationCallback SHOULD NOT BE changed!!!
function ValidateServerCertificate can be split into 2
like
ValidateServerCertificateNoCert(...)
{..
if (obj is HttpWebRequest)
return true;
...
and that if removed from the other one.
then on webrequests where it reads for example:
if (!checkServerCert) request.Headers.Add("NoVerifyCert", "true");
if should
set request.ServerCertificateValidationCallback = the respective validation
(this is now possible with .net46)
without this, other uses of https will fail!( like did on older opensim versions)
(pls let Iseki get this info, if he does not read this)
and if possible the module structure should be changed to be compiled under addon-modules. That makes a lot more easy to do a integrated debug.
i did it to debug this issue...
投票数:86
平均点:6.16
投稿ツリー
-
Some Errors in certs this afternoon over OpenSim 0.9.2.0 Yeti Dev
(Luisillo, 2020-4-12 3:07)
-
Re: Some Errors in certs this afternoon over OpenSim 0.9.2.0 Yeti Dev
(Luisillo, 2020-4-15 4:14)
- Re: Some Errors in certs this afternoon over OpenSim 0.9.2.0 Yeti Dev (iseki, 2020-4-15 14:11)
- Re: Some Errors in certs this afternoon over OpenSim 0.9.2.0 Yeti Dev (Luisillo, 2020-4-15 17:45)
- Re: Some Errors in certs this afternoon over OpenSim 0.9.2.0 Yeti Dev (Luisillo, 2020-4-15 20:19)
-
Re: Some Errors in certs this afternoon over OpenSim 0.9.2.0 Yeti Dev
(Luisillo, 2020-4-16 1:16)
-
Re: Re: Some Errors in certs this afternoon over OpenSim 0.9.2.0 Yeti Dev
(iseki, 2020-4-16 13:15)
- Re: Re: Re: Some Errors in certs this afternoon over OpenSim 0.9.2.0 Yeti Dev (Luisillo, 2020-4-16 18:22)
-
Re: Re: Some Errors in certs this afternoon over OpenSim 0.9.2.0 Yeti Dev
(iseki, 2020-4-16 13:15)
-
Re: Some Errors in certs this afternoon over OpenSim 0.9.2.0 Yeti Dev
(Luisillo, 2020-4-15 4:14)