Adding a security exception to an app
לעברית לחצו כאן
From Android 7 onwards, by default apps do not trust the security certificates that the user adds but only the system certificates so most apps will not work even after installing the certificate as the instructions provided here.
But the app file can usually be edited and configured to support the security certificate that the user has installed.
In this tutorial we will learn how to do this, the tutorial consists of two main steps, the first step is only relevant for those who do not have access to the Linux system, those who have access to the Linux system can go directly to the second part (script run):
The tutorial is based on screenshots, the numbers shown in parentheses mark the step in the screenshots'.
Installation of the Windows Linux subsystem for Windows 10
This step will allow us to run bash commands in windows, (Windows subsystem for Linux is only available in 64-bit versions of windows 10 version 1607 or higher).
First we need to enable this option, we will open PowerShell as an administrator(2) (3), And run the following command there(4):
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
After the operation (5) is complete, a message appears asking you to confirm a computer restart by pressing Y and Enter (6).
Now, download this file and install it (7) (8) , run the app, wait for the installation to complete (9) , first set username (10) and password (11) , and again ' '(11)' verificat password.
(12) Run the command
sudo apt-get update,
Wait until the action is ends (13) then run the command (14)
sudo apt install default-jdk
(15) Approve by typing Y,
Wait until the action is ends (16),
That is, we have now installed the Linux running environment on the computer. You can close the terminal.
Now download this file (zip file), extract it to the folder, put in the same folder the apk file that we want to handle.
In the address bar of the folder (where the path register) write wsl and press enter (17) , a Linux terminal will open in the location of the folder (18)< / small>,
(18) There run the command:
Insted of 'app-name.apk' write the name of the app
(19) In the initial session we will need to update details, we can write down our name or any other word and finish typing yes.
That's it. (20)
Now you will see that in the script folder a file was added(21).