> 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 device with JB, emulator 2.3 and 4.0),
not just 2.3 as
mentioned in the bug report. Also, I know this used to work with Monodroid at
least up to 4.2.
The workaround gives me this exception:
System.Net.WebException: Error getting response stream (Write: The
authentication or decryption has
failed.): SendFailure ---> System.Exception: The authentication or decryption
has failed. --->
System.Exception: The server stopped the handshake.
at Mono.Security.Protocol.Tls.SslClientStream.SafeReceiveRecord
(System.IO.Stream s) [0x00000] in
<filename unknown>:0
at Mono.Security.Protocol.Tls.SslClientStream.OnNegotiateHandshakeCallback
(IAsyncResult
asyncResult) [0x00000] in <filename unknown>:0
at Mono.Security.Protocol.Tls.SslStreamBase.AsyncHandshakeCallback
(IAsyncResult asyncResult)
[0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at Mono.Security.Protocol.Tls.SslStreamBase.AsyncHandshakeCallback
(IAsyncResult asyncResult)
[0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult)
[0x00000] in <filename
unknown>:0
at System.Net.HttpWebRequest.GetResponse () [0x00000] in <filename unknown>:0
at System.Net.WebClient.GetWebResponse (System.Net.WebRequest request)
[0x00000] in <filename
unknown>:0
at System.Net.WebClient.ReadAll (System.Net.WebRequest request,
System.Object userToken)
[0x00000] in <filename unknown>:0
at System.Net.WebClient.DownloadDataCore (System.Uri address, System.Object
userToken) [0x00000]
in <filename unknown>:0
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/https-certificate-chain-errors-tp5711731p5711742.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