2013-03-25 175 views
0

当我尝试Ubuntu上安装流星(11.04):ubuntu上的SSL证书错误安装流星

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

我得到了以下信息:

`%合计%收稿%Xferd平均速度时间时间时间当前时间 Dload Upload Total Spent Left Speed 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.` 

如何解决这个问题?

回答

0

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

sudo update-ca-certificates 

,然后再试一次

而且还有以下也应该只是罚款:

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

$ sudo的更新-CA -certificates 更新/ etc/ssl/certs中的证书... 0已添加,0已删除;完成。 在/etc/ca-certificates/update.d中运行挂钩.... 完成。 完成。 然后我运行curl http://install.meteor.com |/bin/sh或curl https://install.meteor.com |/bin/sh,它显示相同的错误。 – user2206265 2013-03-25 08:35:09

+0

你可以尝试没有在https中的s。如果证书完好,您的系统时钟可能也不正确。另一个选择是添加'--insecure'我已经更新了答案,以显示此 – Akshat 2013-03-25 10:12:49

+0

我设法解决它遵循此链接http://blog.nowherelan.com/2011/12/28/adding-additional-ssl- CA证书/。这是我的证书已过期。 – user2206265 2013-03-25 13:32:01