V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
hotReady
V2EX  ›  问与答

[求助] 0 cURL error 28: NSS: client certificate not found (nickname not specified)

  •  
  •   hotReady · Jun 11, 2018 · 2300 views
    This topic created in 2877 days ago, the information mentioned may be changed or developed.

    调用第三方 https 接口,概率性出现 0 cURL error 28: NSS: client certificate not found (nickname not specified)错误,概率大概为 20%。

    第三方说这个接口不需要验证证书,用 guzzle 的 curl 方法去调的接口,verify 参数就 设为 false,不验证证书。

    Supplement 1  ·  Jun 15, 2018
    自问自答!

    我被 cURL error 28: NSS: client certificate not found (nickname not specified)这个错误蒙蔽了双眼!
    在组内大佬的分析下发现,每次报这个错误日志时间相隔都在 90s,巧的是我设置的超时时间也是 90s。因为访问的是 https 接口,这个接口不需要证书认证,并且接口数据较多,所以在超时后没有报超时,而是报先出现的 notice,也就是 nss 错误!下面是大佬发现灵感的 issue,希望能帮助到大家。


    https://github.com/dpull/lua-webclient/issues/7
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3575 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 11:49 · PVG 19:49 · LAX 04:49 · JFK 07:49
    ♥ Do have faith in what you're doing.