Monday, October 5, 2020

SSL notes

 Android CA paths

system

/system/etc/security/cacerts

System CA Certificates in Android are stored by the name of their hash, with a ‘0’ as extension.
Rename the CA certificate:
$ MY_CA_CERT=my-ca-cert.pem
$ cp $MY_CA_CERT $(openssl x509 -inform PEM -subject_hash_old -in $MY_CA_CERT | head -1).0

user

/data/misc/keystore/user_0


References: