How to get list of all user CA certificates instal

2019-06-05 06:11发布

Need to get a list of all the user CA certificates installed on the device. 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.

标签: android adb
2条回答
三岁会撩人
2楼-- · 2019-06-05 06:57

The activity which shows user added certificates is com.android.settings.TRUSTED_CREDENTIALS_USER.

The certificates are stored in the /data/misc/keychain/cacerts-added folder

查看更多
爱情/是我丢掉的垃圾
3楼-- · 2019-06-05 07:03

Settings->Secutity->Trusted credentials. Go to the 'User' tab to see CAs installed by the user.

查看更多
登录 后发表回答