Always Trust User Certs

This powerful module is designed to easily add all user-installed certificates to the system’s main certificate store. The main goal of this process is to make sure that the user-added certificates are automatically recognized and trusted when building a secure trust chain for all applications. By moving user certificates to the system level, this module gets rid of the need for developers and security analysts to manually add the network_security_config property to an application’s manifest. This is a universal solution, especially for keeping an eye on encrypted traffic from third-party apps where changing the source code isn’t possible. By making sure that all custom certificates are trusted throughout the system, it makes security analysis, corporate network access, and advanced development workflows easier.


Key Capabilities

This module has a lot of features that make it easy to use and work with a wide range of Android devices and settings.


Adaptive Certificate Path Handling

The location of the system’s trusted certificate store can vary significantly depending on your device’s Android version and its Google Play Security Update level. In older or non-updated systems, certificates are typically stored in /system/etc/security/cacerts. However, with the introduction of Project Mainline, Google modularized core components, and on updated devices, the Conscrypt security provider manages its own certificate store located at /apex/com.android.conscrypt/cacerts/. This module expertly handles both scenarios. It automatically detects the correct system path on your specific device, ensuring reliable operation on any version from Android 7 all the way through the anticipated Android 16 without requiring any manual user intervention.


Implementation Guide

Follow these simple steps to manage your custom certificates.

Installing Certificates

First, set up the certificate you want as a standard user certificate. To do this, you usually open the certificate file (like a .crt or .cer file) and follow the instructions on the screen in the Android settings. You need to restart your device after adding the certificate to the user store. The reboot is very important because it tells the module to copy the new certificate into the system trust store before any applications are loaded.

Removing Certificates

It’s just as easy to take it off. First, go to your device’s security settings and delete the certificate from the user certificate store. You will need to restart the device again after you have confirmed its removal. This lets the module sync the system store, which makes sure that the certificate that was just deleted is no longer trusted by the whole system.

Version History and Development

v1.2

v1.1

v1.0

v0.4.1

v0.3

v0.2

v0.1

Download Link

Module Info

Search on : Google Bing Yandex