如何查看cacerts.bks内容(证书文件/system/etc/security/cacerts.bks)
有谁知道如何查看Android设备支持的根证书列表? 我想看看那个信息。
我发现/system/etc/security/cacerts.bks
包含根证书信息, 但我无法使用任何可用的编辑器解码内容。
我也尝试过 KeyTool 但未能成功。
请建议如何解码该文件的内容。
问候,
杜尔加
Does anybody know how to view the list of root certificates that an Android device supports?
I would like to see that information.
I found that /system/etc/security/cacerts.bks
contains the root certificates information,
but I am not able to decode the contents using any available editors.
I have also tried KeyTool but couldn't succeed with that.
Please suggest how to decode this file's content.
Regards,
Durga
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
如果你不想成为一个总是编写脚本/代码来做他想做的事情的专家。
这是推荐给您的 GUI 密钥库工具: http://www.keystore-explorer.org/downloads .html
If you do not want to be an expert who always write scripts/codes to do what he want.
This is a recommended GUI keystore tool for you: http://www.keystore-explorer.org/downloads.html
您可以通过代码获取 Android 设备中已安装证书的列表:在 onCreate() 方法中,包含以下代码:
对于 IceCream Sandwich 之前的设备 (API < 14):
对于设备Android 4.0 及以上版本(API >= 14):
You can get the list of installed certificates in an Android device from code: In your onCreate() method, include this code:
For devices pre IceCream Sandwich (API < 14):
For devices with Android 4.0 and upwards (API >= 14):