For AdGuard to successfully filter HTTPS traffic in Firefox, the browser needs to trust AdGuard's certificate. It can be achieved differently for different versions of the Firefox.
This method works in Firefox for Android version 90.0 and later.
To make Firefox trust the AdGuard certificate, do the following:
This method will only work on rooted devices.
On the Windows platform, Samsung owners may need to install this utility.
data/data/org.mozilla.firefox/files/mozilla
using adb shell su
and cd data/data/...
, then browse to the folder named xxxxxxx.default
and memorize its name;cert9.db
key4.db
data/data/org.mozilla.<browser_name>/files/mozilla/yyyyyy.default
.adb shell su
cp -R data/data/org.mozilla.firefox/files/mozilla/xxxxxxxxxx.default/cert9.db data/data/org.mozilla.<browser_name>/files/mozilla/yyyyyyyyyy.default
.cp -R data/data/org.mozilla.firefox/files/mozilla/xxxxxxxxxx.default/key4.db data/data/org.mozilla.<browser_name>/files/mozilla/yyyyyyyyyy.default
.In case you received the system notification permission denied, you should first move the specified files to the permission-free directory. And after that you should move them to the necessary folder in your Firefox browser.
The full command should look something like this:
adb shell su
.cp -R data/data/org.mozilla.firefox/files/mozilla/xxxxxxxx.default/cert9.db sdcard/Download
cp -R data/data/org.mozilla.firefox/files/mozilla/xxxxxxxxx.default/key4.db sdcard/Download
cp -R sdcard/Download/cert9.db data/data/org.mozilla.<browser_name>/files/mozilla/yyyyyyyyyy.default
. cp -R sdcard/Download/key4.db data/data/org.mozilla.<browser_name>/files/mozilla/yyyyyyyyyy.default
.If adb shell su
does not work, you should try adb shell
initially, and then su
.