小编0xB*_*00D的帖子

Curl 无法检索 HTTPS 内容

我在 Debian 6 上运行的生产服务器出现问题(apt-get update;apt-get upgrade 成功完成)。

当我调用 HTTPS (StartSSL) 服务器时,我在 Debian 6 上收到一条错误消息:

#> curl --version
curl 7.21.0 (x86_64-pc-linux-gnu) libcurl/7.21.0 OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.15 libssh2/1.2.6
Protocols: dict file ftp ftps http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp
Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz

#> curl https://mydomain.com/api/
curl: (60) SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
More details here: http://curl.haxx.se/docs/sslcerts.html
Run Code Online (Sandbox Code Playgroud)

但是当我在 Debian 7 …

debian https curl

2
推荐指数
1
解决办法
2339
查看次数

标签 统计

curl ×1

debian ×1

https ×1