我一直試圖在我的MacBook Pro上安裝meteor,並且一直面臨着認證問題。我得到以下錯誤:curl SSL認證錯誤
curl: (60) SSL certificate problem: self signed certificate in certificate chain More details here: https://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle" of Certificate Authority (CA) public keys (CA certs). If the default bundle file isn't adequate, you can specify an alternate file using the --cacert option. If this HTTPS server uses a certificate signed by a CA represented in the bundle, the certificate verification probably failed due to a problem with the certificate (it might be expired, or the name might not match the domain name in the URL). If you'd like to turn off curl's verification of the certificate, use the -k (or --insecure) option.
使用curl --insecure https://install.meteor.com | ssh
後,我收到以下錯誤信息:
Downloading Meteor distribution
curl: (60) SSL certificate problem: unable to get local issuer certificate More details here: https://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle" of Certificate Authority (CA) public keys (CA certs). If the default bundle file isn't adequate, you can specify an alternate file using the --cacert option. If this HTTPS server uses a certificate signed by a CA represented in the bundle, the certificate verification probably failed due to a problem with the certificate (it might be expired, or the name might not match the domain name in the URL). If you'd like to turn off curl's verification of the certificate, use the -k (or --insecure) option. Installation failed.
(注意:安裝失敗的消息)。
請任何人都可以幫我解決這個問題。
在此先感謝。 編輯:
運行curl install.meteor.com | sh -x
就像費奧多爾後問我跑我得到了以下信息:
- run_it
- RELEASE=1.2.1
- PREFIX=/usr/local
- set -e
- set -u
- exec ++ uname
- UNAME=Darwin
- '[' Darwin '>' MINGW -a Darwin '<' MINGX ']'
- '[' Darwin '!=' Linux -a Darwin '!=' Darwin ']'
- '[' Darwin = Darwin ']' ++ uname -p ++ sysctl -n hw.cpu64bit_capable
- '[' i386 '!=' i386 -o 1 '!=' 1 ']'
- grep BUNDLE_VERSION /usr/local/bin/meteor
- PLATFORM=os.osx.x86_64
- trap 'echo Installation failed.' EXIT
- '[' -e /Users/usama/.meteor ']'
- TARBALL_URL= https://d3sqy0vbqsdhku.cloudfront.net/packages-bootstrap/1.2.1/meteor-bootstrap-os.osx.x86_64.tar.gz
- INSTALL_TMPDIR=/Users/usama/.meteor-install-tmp
- rm -rf /Users/usama/.meteor-install-tmp
- mkdir /Users/usama/.meteor-install-tmp
- echo 'Downloading Meteor distribution' Downloading Meteor distribution
- curl --progress-bar --fail https://d3sqy0vbqsdhku.cloudfront.net/packages-bootstrap/1.2.1/meteor-bootstrap-os.osx.x86_64.tar.gz
- tar -xzf - -C /Users/usama/.meteor-install-tmp -o
如果需要,請索取更多信息。 – UsamaMan