[英]How to get list of all user CA certificates installed in an Android Device?
Need to get a list of all the user CA certificates installed on the device. 需要获取设备上安装的所有用户CA证书的列表。 We can get System certs by running
我们可以通过运行获得系统证书
adb shell cat /system/etc/security/cacerts/* | grep Issuer:
Is there a similar way to get user certs as well. 是否有类似的方式来获取用户证书。 If it is not possible, can we alteast open the Activity which shows the install CA certs in the device.
如果不可能,我们是否可以打开显示设备中已安装CA证书的活动?
The activity which shows user added certificates is com.android.settings.TRUSTED_CREDENTIALS_USER
. 显示用户添加的证书的活动是
com.android.settings.TRUSTED_CREDENTIALS_USER
。
The certificates are stored in the /data/misc/keychain/cacerts-added
folder 证书存储在
/data/misc/keychain/cacerts-added
文件夹中
Settings->Secutity->Trusted credentials. 设置->安全->受信任的凭据。 Go to the 'User' tab to see CAs installed by the user.
转到“用户”标签,查看用户安装的CA。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.