如何忽略错误:System.Security.Cryptography.CryptographicException:Store Root不存在 [英] How to ignore error: System.Security.Cryptography.CryptographicException: Store Root doesn't exists

查看:149
本文介绍了如何忽略错误:System.Security.Cryptography.CryptographicException:Store Root不存在的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Xamarin创建Monodroid应用。
我与后端的通信正在通过https协议。这导致调试模式中的System.Security.Cryptography.CryptographicException:Store Root不存在错误,这是令人讨厌的。如果我点击继续一切顺利。

I'm using Xamarin for creating Monodroid app. My communication with backend is going over https protocol. That leads to "System.Security.Cryptography.CryptographicException: Store Root doesn't exists" error in debug mode which is quate annoying. If I hit "Continue" everything goes well.

我有两个问题:
1.为什么会出现这个错误。我的后端有有效的证书,可以从其他客户端建立https连接,没有任何问题。
2.如果没有办法解决这个问题,我怎么能忽略这个错误(我认为实际上是警告)?

I have two questions here: 1. why this error occurs. My backend has valid certificate and https connection could be established from other clients without any issues. 2. How can I ignore this error (actually warning I think) if there is no way to fix that?

感谢您的任何建议!

推荐答案

有一个讨论,最后一篇文章发布于2013年7月16日,并没有反复如何修复它。

There is a discussion in Xamarin Developer Center with the last post on 16 July 2013 and no rersponse how to fix it.

第二个
这次TS写道:

And the second one also in Xamarin Developer Center. This time TS wrote:


但是当它发生时(到目前为止两次)它发生了多次通话
连续一两分钟的调试 - 但是当我们
重启应用程序时没有发生。所以感觉更像是在
应用程序中而不是在服务器端出错...

But when it happens (twice ever so far) it happened for multiple calls in a row over a minute or two of debugging - but didn't happen when we restarted the app. So it felt more like something was wrong within the app rather than on server side...

还有一个在连接基于Google的API时,使用 SSL异常在Xamarin Bugzilla中注册错误 标题及其不会影响iOS。

There is also a registered bug in Xamarin Bugzilla with SSL Exception when connection google-based API Title and its not affects iOS.

总结:

至于今天没有解决方案,但您可以观察显示的链接,也可以在Xamarin开发人员中心或Bugzilla下发布您的信息。

as for today there is no solution for it, but you can observe the links shown and maybe also post your information under Xamarin Developer Center or Bugzilla.

这篇关于如何忽略错误:System.Security.Cryptography.CryptographicException:Store Root不存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆