我首先申请了免费的 digicert 证书,服务端用的 nginx。得到了两个文件 domain.pem, domain.key 这样配置的 nginx listen 443 ssl; ssl_certificate the_path_of_domain.pem; ssl_certificate_key the_path_of_domain.key; ssl_client_certificate the_path_of_domain.pem; ssl_verify_client on; ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2; ssl_ciphers "HIGH:!aNULL:!MD5 or HIGH:!aNULL:!MD5:!3DES"; ssl_prefer_server_ciphers on; 然后通过 curl 测试,失败 curl --cert domain.pem --key domain.key https://domain 更改了 `ssl_verify_depth` 的值也不可以。 需求帮助