Android/Java SSL、密钥库、证书参考请求
我在尝试通过 Android 中的 https 连接到安全服务器时遇到了无数问题(Eclipse 是我的 ide)。我缺乏理解。 Java、Android、ssl 和证书对于 google 搜索/stackoverflow 来说太多了,无法产生有用的答案。 任何人都可以向我指出一本参考资料(书籍或其他内容),其中详细说明了连接到安全服务器以及所涉及的所有内容(密钥库、证书等)吗? Android 参考是首选,但 Java 参考也可以。我需要了解 Java 如何使用 https 类、密钥库、证书等的基础知识。
I am running into myriad problems with my attempt to connect to a secure server via https in Android (Eclipse is my ide). My lack of understanding re. Java, Android, ssl and certificates is too much for google searches/stackoverflow to yield useful answers.
Can anyone point me to a reference (book or otherwise) that spells out connecting to a secure sever, and all that's involved (keystore, certificate, etc), in detail? An Android reference is preferred, but a Java reference is fine. I need to understand the basics of how Java uses https classes, keystores, certificates, etc.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我建议阅读 Java EE SSL 指南,可在此处找到: http:// /docs.oracle.com/javaee/5/tutorial/doc/bnbxw.html
这应该为您提供使用 Java 连接到 SSL 时可以处理的所有内容。
I would suggest reading through the Java EE SSL guide, found here: http://docs.oracle.com/javaee/5/tutorial/doc/bnbxw.html
This should give you about all you can handle for connecting to SSL using Java.