Manually add your own root certificate (CA certificate) for Android 4.x phones

Source: Internet
Author: User
Tags root access


First look at the location of the Android 4.x system's certificate store:

AOSP the location of the CA certificate file in the Android system is:/system/etc/security/cacerts/a series of digitally named. 0 files


Method One:

Android 4.0 already supports the user to install the root certificate, only need to put the root certificate to the SDcard root directory, and then to the settings (Settings) – Security – from the storage device installation (install from storage) on it, However, this installation requires a lock screen pin or password to be set.


However, this operation requires a lock screen pin or password each time the phone is turned on, which can cause a lot of trouble for the user.


Method Two: (Note: Root privileges are required)

After the phone has root access, copy the root certificate file in the Base64 text format directly to the Etc/security/cacerts folder, and then to Settings (Settings) – Security – Trusted credentials (Trusted Credentials), the root certificate you want to install at this point should show that it is already installed. After this installation, the root certificate is used as a system certificate, not as a user certificate that is installed as a method.


If you want to delete the root certificate file inside the folder deleted or directly after the certificate of the check out of the line.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.