小编Car*_*uch的帖子

CURL 显示“未发送所需的 SSL 证书”

我正在使用 WINDOWS 中的 CURL 命令。我已经发布了下面的命令。我还发布了命令的结果。在我看来,服务器在发送证书之前终止连接。但我可能错了。有什么想法为什么没有发送证书吗?

curl -v --cert C:\Users\myFolder\Downloads\hs_test_cert.pem --key C:\Users\myFolder\Downloads\hst_test_key.pem https://myAPIGEEhost.apigee.net/MyBackendName_CCDA_API?apikey=MyAssignedAPIKey

 *   Trying 00.00.00...
* TCP_NODELAY set
* Connected to myAPIGEEhost.apigee.net (00.00.00) port 443 (#0)
* schannel: SSL/TLS connection with myAPIGEEhost.apigee.net port 443 (step 1/3)
* schannel: checking server certificate revocation
* schannel: sending initial handshake data: sending 203 bytes...
* schannel: sent initial handshake data: sent 203 bytes
* schannel: SSL/TLS connection with myAPIGEEhost.apigee.net port 443 (step 2/3)
* schannel: failed to receive handshake, need more data
* …
Run Code Online (Sandbox Code Playgroud)

ssl curl ssl-certificate mtls

3
推荐指数
1
解决办法
9310
查看次数

标签 统计

curl ×1

mtls ×1

ssl ×1

ssl-certificate ×1