> Does that include any 4.2.x release? The relevant SSL code in
> AndroidEnvironment hasn't changed since 2011-11-16 until 2012-08-13 (after
> 4.2.5 was branched), and _most_ of the code hadn't changed since 2010-10-15
> (i.e. a very long time ago). I have no idea why this would have ever worked
> for you if it started failing for you recently. :-/

I've re-installed 4.2.1 now and I can confirm my test code works there. I 
tested on a Nexus S w/ Android 4.1.1 and on a 4.0.3 emulator. So this line

             var html = new 
System.Net.WebClient().DownloadString("https://www.google.com";);

works in 4.2.1 but not in 4.2.5. When run in 4.2.1 sslPolicyErrors is None but 
the chain does not contain the root certificate, either.

I'll try to update step by step to 4.2.5 and see where the problem shows up 
for the first time.





--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/https-certificate-chain-errors-tp5711731p5711771.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to