2021-10-07 08:02:48 +00:00
|
|
|
# b2g-certificates
|
2014-11-21 14:48:43 +00:00
|
|
|
|
|
|
|
A shell script to add root certificates to Firefox OS
|
2014-11-21 15:01:53 +00:00
|
|
|
|
2021-10-07 08:02:48 +00:00
|
|
|
[Original README](README-original.md)
|
2014-11-21 15:01:53 +00:00
|
|
|
|
2021-10-07 08:02:48 +00:00
|
|
|
Linux (Debian & Ubuntu):
|
2014-11-21 15:01:53 +00:00
|
|
|
|
2021-10-07 08:02:48 +00:00
|
|
|
```bash
|
|
|
|
sudo apt-get install libnss3-tools adb wget
|
|
|
|
git clone https://github.com/openGiraffes/b2g-certificates
|
|
|
|
cd b2g-certificates
|
2014-11-21 15:01:53 +00:00
|
|
|
|
2021-10-07 08:02:48 +00:00
|
|
|
chmod +x ./add-certificates-to-phone.sh
|
|
|
|
./add-certificates-to-phone.sh
|
2014-11-21 15:01:53 +00:00
|
|
|
|
2021-10-07 09:42:16 +00:00
|
|
|
# If you are using WSL, please run this (Need to add Android Platform Tools directory to PATH)
|
2021-10-07 08:02:48 +00:00
|
|
|
chmod +x ./add-certificates-to-phone-wsl.sh
|
|
|
|
./add-certificates-to-phone-wsl.sh
|
|
|
|
```
|
2014-11-21 15:01:53 +00:00
|
|
|
|
2021-10-07 09:42:16 +00:00
|
|
|
Windows Batch(Need to add Android Platform Tools directory to PATH):
|
2014-11-21 15:01:53 +00:00
|
|
|
|
2021-10-07 08:02:48 +00:00
|
|
|
```batch
|
|
|
|
add-certificates-to-phone.bat
|
|
|
|
```
|
2014-11-21 15:01:53 +00:00
|
|
|
|
2021-10-07 09:44:52 +00:00
|
|
|
P.S.: NSS certutil compiled by myself.
|