[Bug 37996] Wine mono does not support https connection unless manually imports certification

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Aug 25 07:42:21 CDT 2015


https://bugs.winehq.org/show_bug.cgi?id=37996

--- Comment #13 from Roger Vuistiner <vuistiner at epsitec.ch> ---
I had somehow a similar problem on OSX + Wine with Mono for Windows (4.0.3).
In my case the validation code raises the following exception (attachment
52179).
The problem is the initialization of the
`ServicePointManager.ChainValidationHelper.is_macosx` variable.
This variable should be set to false on OSX + Wine, but the actual code does
not address whether we are running on Wine or not.

- actual code: is_macosx =
File.Exists("/System/Library/Frameworks/Security.framework/Security");
- fixed code : is_macosx =
File.Exists("/System/Library/Frameworks/Security.framework/Security") &&
Environment.OSVersion.Platform != PlatformID.Win32NT;

As a workaround we can use reflection to set the `is_macosx` variable to false
under OSX + Wine (see attachment 52180)

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list