小编Sae*_*ven的帖子

openssl s_client 连接期间出错,SSL 警报号 48

我主要尝试通过 CURL/PHP 连接到第三方,但由于它不起作用,我求助于更详细的工具来诊断问题。

如果我在 Ubuntu 14.04 LTS 上尝试以下操作:

openssl s_client -showcerts -connect secure.thirdpartyhost.com:443 -cert production_client.pem -key production_key.pem -CApath /etc/ssl/certs
Run Code Online (Sandbox Code Playgroud)

它因以下错误而失败:

CONNECTED(00000003)
depth=2 C = US, O = "Entrust, Inc.", OU = See www.entrust.net/legal-terms, OU = "(c) 2009 Entrust, Inc. - for authorized use only", CN = Entrust Root Certification Authority - G2
verify return:1
depth=1 C = US, O = "Entrust, Inc.", OU = See www.entrust.net/legal-terms, OU = "(c) 2012 Entrust, Inc. - for authorized use only", CN = Entrust …
Run Code Online (Sandbox Code Playgroud)

ssl openssl ssl-certificate

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

标签 统计

openssl ×1

ssl ×1

ssl-certificate ×1