Since Android 7 Nougat, Android no longer trusts user or admin supplied CA certificates. Use an older version of Android, 6 or below for your testing. If you must use Android 7 Nougat then you will need to install a trusted CA at the Android OS level on a rooted device or emulator.
If you have other way to do on root way, importantly Android 10 or 11, Let me know. Please don't tell me non-root way, like modifying apps, I don't like that, thanks
Magisk Trust User Certs
This module makes all installed user certificates part of the system certificate store, so that they will automatically be used when building the trust chain. This module makes it unnecessary to add the network_security_config property to an application's manifest.
Note: Some devices doesn't work with this
Installation
Remove the certificate from the user store through the settings, and restart the device.
If you have other way to do on root way, importantly Android 10 or 11, Let me know. Please don't tell me non-root way, like modifying apps, I don't like that, thanks
Magisk Trust User Certs
This module makes all installed user certificates part of the system certificate store, so that they will automatically be used when building the trust chain. This module makes it unnecessary to add the network_security_config property to an application's manifest.
Note: Some devices doesn't work with this
Installation
- Install Magisk
- Download zip Releases · NVISOsecurity/MagiskTrustUserCerts
- Install in Magisk
- Install certificates through normal flow Burp or Fiddler
- Restart the device
- The installed user certificates can now be found in the system store.
Remove the certificate from the user store through the settings, and restart the device.