【问题标题】:Blackfire profiling error - exit status 60Blackfire 分析错误 - 退出状态 60
【发布时间】:2019-10-10 21:31:38
【问题描述】:

我正在运行一个以 Centos 7 作为其操作系统的 vagrant box。我没有错误地安装了 blackfire,然后尝试从网络浏览器进行分析。它开始配置文件,但然后只是挂起挂起,从未完成。然后我在命令行中通过 curl 进行了尝试,得到了以下错误:

$ blackfire curl https://gitlist.demo.blackfire.io/
Profiling: [####------------------------------------] 1/10
Error while running command: exit status 60
Use the option '--ignore-exit-status' to ignore command exit status
* About to connect() to gitlist.demo.blackfire.io port 443 (#0)
*   Trying 54.76.137.79...
* Connected to gitlist.demo.blackfire.io (54.76.137.79) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
*   CAfile: /etc/pki/tls/certs/ca-bundle.crt
    CApath: none
* Server certificate:
*   subject: CN=gitlist.demo.blackfire.io
*   start date: Jul 07 14:09:16 2019 GMT
*   expire date: Oct 05 14:09:16 2019 GMT
*   common name: gitlist.demo.blackfire.io
*   issuer: CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US
* NSS error -8181 (SEC_ERROR_EXPIRED_CERTIFICATE)
* Peer's Certificate has expired.
* Closing connection 0
curl: (60) Peer's Certificate has expired.
More details here: 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.

有人可以向我解释这个错误是什么吗?我已经在其他项目上成功使用过 Blackfire(尽管那些是 Ubuntu 机器)并且从未见过这个错误。我在网上也找不到太多关于此的内容。

【问题讨论】:

    标签: blackfire


    【解决方案1】:

    cURL 未发送 HTTP 请求,因为“对等证书已过期”。 按照建议,您可以添加“--insecure”选项。

    但是好像证书已经更新了。

    【讨论】:

    • 您能解释一下 Peers 证书是什么以及它为什么/何时到期?
    • “gitlist.demo.blackfire.io”的HTTPS证书已过期。因此 curl 无法验证连接是否安全。
    • 嗯,这很奇怪。因为我第一次尝试 curl 自己的站点名称,也出现了同样的错误,只有后记才尝试过这个...
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-03-05
    • 2022-08-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多