paypro: try to grab root certs from mozilla if github is not available.
This commit is contained in:
parent
8725516afb
commit
4d9a752307
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue