From 4d9a752307a993226728fa63d853691441857d7c Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Thu, 17 Jul 2014 17:22:18 -0700 Subject: [PATCH] paypro: try to grab root certs from mozilla if github is not available. --- browser/generate-trusted.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/browser/generate-trusted.sh b/browser/generate-trusted.sh index b726bb8ecd2..36189c5ceb9 100755 --- a/browser/generate-trusted.sh +++ b/browser/generate-trusted.sh @@ -4,10 +4,13 @@ # Mozilla Root Certs # https://www.mozilla.org/en-US/about/governance/policies/security-group/certs/included/ +# http://mxr.mozilla.org/mozilla-central/source/security/nss/lib/ckfw/builtins/certdata.txt?raw=1 # https://raw.githubusercontent.com/joyent/node/master/tools/certdata.txt wget https://raw.githubusercontent.com/joyent/node/master/src/node_root_certs.h \ - || curl -OJ https://raw.githubusercontent.com/joyent/node/master/src/node_root_certs.h + || wget 'http://mxr.mozilla.org/mozilla-central/source/security/nss/lib/ckfw/builtins/certdata.txt?raw=1' \ + || curl -OJ https://raw.githubusercontent.com/joyent/node/master/src/node_root_certs.h \ + || curl -OJ 'http://mxr.mozilla.org/mozilla-central/source/security/nss/lib/ckfw/builtins/certdata.txt?raw=1' mv node_root_certs.h lib/RootCerts.js pushd lib &> /dev/null