简体   繁体   中英

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. 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.

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM