flagflag  

Re: Some Errors in certs this afternoon over OpenSim 0.9.2.0 Yeti Dev

List posts in the topic

なし Re: Some Errors in certs this afternoon over OpenSim 0.9.2.0 Yeti Dev

msg# 1.3
depth:
1
Previous post - Next post | Parent - No child | Posted on 2020/4/15 20:19
Luisillo  Just can't stay away From: Spain  Posts: 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...
Votes:83 Average:6.27

Posts tree

  Advanced search


Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthApr 2024Next Month
Su Mo Tu We Th Fr Sa
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
Today

Who's Online

86 user(s) are online (4 user(s) are browsing Forum)

Members: 0
Guests: 86

more...

Access Counter

Today : 8633863386338633
Yesterday : 1169911699116991169911699
Total : 2329596823295968232959682329596823295968232959682329596823295968
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com