有什么方法可以在 Windows Phone 7 模拟器上使用自签名证书吗?
我们正在开发一个 WP7 应用程序,它使用 OAuth 连接到服务器。 这是一个低预算项目。因此,即使在生产服务器上,我们也仅使用自签名证书。这对于 Android 客户端来说效果很好。
- 有机会合作吗 WP7上也有未签名的证书吗?
- 有没有办法让应用程序运行 开箱即用的这种 证书?所以,用户不 需要手动安装证书吗?
- 我们无法在模拟器上安装证书。你有同样的问题吗?你是怎么解决的?
- Microsoft 是否允许在其市场上使用具有此类证书的应用程序
We are developing a WP7 application which is connected to a server using OAuth. It's a low budget project. So, we are only using self signed certificates even on the production server. That worked fine for the android client.
- Is there a chance to work with
unsigned certificates on WP7 also? - Is there a way to make the app work
out of the box with this kind of
certs? So, that the user doesn't
need to install the cert manually? - We failed to install the cert on the emulator. Did you have the same kind of problem? How did you solve it?
- Does Microsoft allow apps with this kind of certs in their market
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如何:为 Windows 设置经过身份验证的 Web 服务MSDN 上的电话描述了如何使用经过身份验证的服务。根据Windows Phone 的 SSL 根证书,唯一值得信赖的证书颁发机构是:
所以我想说,一个自我签名的证书将不起作用。
How to: Set up an Authenticated Web Service for Windows Phone on MSDN describes how to go about using authenticated services. According to SSL Root Certificates for Windows Phone, the only trusted certificate authorities are:
So I'd say that a self-signed certificate won't work.
您是否尝试使用模拟器的浏览器导航到代表您的自签名根的 .CER 文件?这适用于物理硬件,并且似乎也适用于模拟器。但你绝对不应该期望这样发货; Go-Daddy 证书的价格约为 15 美元/年。
Did you try using the emulator's browser to navigate to the .CER file that represents your self-signed root? That works on the physical hardware, and seems like it might work on the emulator as well. But you absolutely shouldn't expect to ship like this; a Go-Daddy cert is like $15/year.