在ubuntu ssl证书错误上安装Meteor

时间:2013-03-25 05:07:05

标签: install meteor

当我尝试在ubuntu(11.04)上安装meteor时:

**$ curl https://install.meteor.com | /bin/sh**

我收到以下消息:

`%Total%Received%Xferd平均速度时间时间当前时间                                      Dload上载总左转速度       0 0 0 0 0 0 0 0 - : - : - - : - : - - : - : - 0curl:(60)SSL证书问题,验证CA证书是否正常。细节:     错误:14090086:SSL例程:SSL3_GET_SERVER_CERTIFICATE:证书验证失败     更多详情:http://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.`

如何解决这个问题?

1 个答案:

答案 0 :(得分:0)

看起来某种SSL CA证书错误,请尝试

sudo update-ca-certificates 

再试一次

同样以下也应该可以正常工作:

curl http://install.meteor.com --insecure | /bin/sh