【问题标题】:Install Meteor on ubuntu ssl certificate error在 ubuntu ssl 证书错误上安装 Meteor
【发布时间】:2013-03-25 05:07:04
【问题描述】:

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

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

我收到以下消息:

` % Total % Received % Xferd 平均速度 时间 时间 时间 当前 下载上传总花费剩余速度 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.`

如何解决?

【问题讨论】:

    标签: installation meteor


    【解决方案1】:

    好像是某种 SSL CA 证书错误,试试

    sudo update-ca-certificates 
    

    再试一次

    下面的内容也应该可以正常工作:

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

    【讨论】:

    • $ sudo update-ca-certificates 更新 /etc/ssl/certs 中的证书... 0 添加,0 删除;完毕。在 /etc/ca-certificates/update.d 中运行钩子......完成。完毕。然后我运行 curl install.meteor.com | /bin/sh 或 curl install.meteor.com | /bin/sh ,它显示相同的错误。
    • 你可以试试不带 s 的 https。如果证书一切正常,您的系统时钟也可能不正确。另一种选择是添加--insecure 我已经更新了答案以显示这个
    • 我设法通过此链接blog.nowherelan.com/2011/12/28/… 解决它。这是我的证书过期了。
    猜你喜欢
    • 1970-01-01
    • 2017-06-10
    • 2014-03-13
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-04-23
    • 2017-01-19
    • 2017-04-07
    相关资源
    最近更新 更多