A shell script to add root certificates to Firefox OS/KaiOS
 
 
Go to file
liaronce 7010813dc5 Windows batch final. 2021-10-07 17:35:32 +08:00
bin Windows batch final. 2021-10-07 17:35:32 +08:00
certs Upload 2021-10-07 16:02:48 +08:00
.gitignore Windows batch final. 2021-10-07 17:35:32 +08:00
README-original.md Upload 2021-10-07 16:02:48 +08:00
README.md Upload 2021-10-07 16:02:48 +08:00
add-certificates-to-phone-wsl.sh Upload 2021-10-07 16:02:48 +08:00
add-certificates-to-phone.bat Windows batch final. 2021-10-07 17:35:32 +08:00
add-certificates-to-phone.sh Fix HTML encoding of shell script. 2015-04-25 21:22:04 +02:00

README.md

b2g-certificates

A shell script to add root certificates to Firefox OS

Original README

Linux (Debian & Ubuntu):

sudo apt-get install libnss3-tools adb wget
git clone https://github.com/openGiraffes/b2g-certificates
cd b2g-certificates

chmod +x ./add-certificates-to-phone.sh
./add-certificates-to-phone.sh

# If you are using WSL, please run this (Need to set Android Platform Tools as an environment variable)
chmod +x ./add-certificates-to-phone-wsl.sh
./add-certificates-to-phone-wsl.sh

Windows Batch(Testing and NSS certutil reported an error):

add-certificates-to-phone.bat

NSS (Windows, 3.35.0, fron AdGuard) certutil reported an error:

certutil.exe: function failed: SEC_ERROR_LEGACY_DATABASE: The certificate/key database is in an old, unsupported format.