Re: [mono-android] https certificate chain errors

2012-09-14 Thread Jonathan Pryor
On Sep 10, 2012, at 3:25 PM, Jonathan Pryor wrote: > 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), Mea culpa. While the Mono.Android.dll code hasn't changed, the System.dll code

Re: [mono-android] https certificate chain errors

2012-09-12 Thread Hani Gobran
-boun...@lists.ximian.com] On Behalf Of Michael Ganss Sent: Wednesday, September 12, 2012 3:36 AM To: monodroid@lists.ximian.com Subject: Re: [mono-android] https certificate chain errors I have now tested all versions between 4.2.1 and 4.2.5. The problem occurs in 4.2.5 but not in 4.2.4 and

Re: [mono-android] https certificate chain errors

2012-09-12 Thread Michael Ganss
I have now tested all versions between 4.2.1 and 4.2.5. The problem occurs in 4.2.5 but not in 4.2.4 and below. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/https-certificate-chain-errors-tp5711731p5711777.html Sent from the Mono for Android mailing list arch

Re: [mono-android] https certificate chain errors

2012-09-11 Thread Michael Ganss
> 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 >

Re: [mono-android] https certificate chain errors

2012-09-11 Thread Michael Ganss
> 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 >

Re: [mono-android] https certificate chain errors

2012-09-10 Thread Jonathan Pryor
On Sep 7, 2012, at 12:59 PM, mganss wrote: > I'm calling an https web service from MonoDroid 4.2.5 and I'm getting the > same error as described in this bug: > https://bugzilla.xamarin.com/show_bug.cgi?id=6501 > - it used to work in earlier versions of MonoDroid (at least up to 4.2) with > the

Re: [mono-android] https certificate chain errors

2012-09-09 Thread Michael Ganss
> I don't know if this helps, but here is a bug in 4.2.5 with a > workaround to its problem in comment #7 - > https://bugzilla.xamarin.com/show_bug.cgi?id=6501 I'm not sure if this is the same problem as described in the bug report. It occurs on all Android versions I have tested so far (Nexus S

Re: [mono-android] https certificate chain errors

2012-09-08 Thread Stephen Shaw
I don't know if this helps, but here is a bug in 4.2.5 with a workaround to its problem in comment #7 - https://bugzilla.xamarin.com/show_bug.cgi?id=6501 Hope that helps, Stephen On Sat, Sep 8, 2012 at 1:27 PM, mganss wrote: > This occurs with other sites as well. Here is a small piece of code t

Re: [mono-android] https certificate chain errors

2012-09-08 Thread mganss
This occurs with other sites as well. Here is a small piece of code that shows the problem: ServicePointManager.ServerCertificateValidationCallback = (src, cert, chain, err) => { Log.Debug("AndroidCertTest", "err: {0