This directory contains scripts for customizing the certificate trust database
so that additional app stores can be added for testing purposes only. Gecko
does not properly support multiple app stores signing privileged apps, so these
scripts cannot and should not be used to add support for privileged apps from
stores for production purposes.
The term full_unagi is used to look up a mounted device. You could put any
valid device name here. For example, if your adb devices output looked like:
List of devices attached
d47ce87d device
then you would type ./change_trusted_servers.sh d47ce87d....
If you want to add marketplace-dev support, add one or both of these before
executing push_certdb.sh
These steps are done in separate scripts so that add_or_replace_root_cert.sh
can be used for B2G desktop, which doesn’t require the push/pull steps.
Windows:
hg clone https://hg.mozilla.org/projects/nspr
hg clone https://hg.mozilla.org/projects/nss
cd nss
OS_TARGET=WIN95 make nss_build_all
cd ..
export NSS=$PWD/dist/WIN954.0_DBG.OBJ
# NSS/bin must be ahead of the rest of the path because NSS and Windows both
# have tools called "certutil".
export PATH=$NSS/bin:$NSS/lib:$PATH
This directory contains scripts for customizing the certificate trust database so that additional app stores can be added for testing purposes only. Gecko does not properly support multiple app stores signing privileged apps, so these scripts cannot and should not be used to add support for privileged apps from stores for production purposes.
Installation
Install NSS for
certutil.sudo apt-get install libnss3-toolssu -c "yum install nss-tools"sudo zypper install mozilla-nss-toolsbrew install nssInstall the Android ADT (SDK). After you install the SDK, add
$ADT/sdk/platform-toolsto your path.Usage
Example usage:
The term
full_unagiis used to look up a mounted device. You could put any valid device name here. For example, if youradb devicesoutput looked like:then you would type
./change_trusted_servers.sh d47ce87d....If you want to add marketplace-dev support, add one or both of these before executing
push_certdb.shIf you want to add marketplace-stage support, add the following before executing push_certdb.sh
If you want to add payments-alt support, add the following before executing push_certdb.sh
These steps are done in separate scripts so that
add_or_replace_root_cert.shcan be used for B2G desktop, which doesn’t require the push/pull steps.Windows: