小编Cla*_*diu的帖子

如何使用 curl 来验证站点的证书是否已被吊销?

要检查 google.com 的证书是否已被吊销,我尝试了以下命令:

curl https://www.google.com --cacert GeoTrust_Global_CA.pem --crlfile gtglobal.pem -v
Run Code Online (Sandbox Code Playgroud)

,但我遇到了可怕的“SSL 证书问题”错误:

* About to connect() to www.google.com port 443 (#0)
*   Trying 81.24.29.91... connected
* successfully set certificate verify locations:
*   CAfile: GeoTrust_Global_CA.pem
  CApath: /etc/ssl/certs
* successfully load CRL file:
*   CRLfile: gtglobal.pem
* SSLv3, TLS handshake, Client hello (1):
* SSLv3, TLS handshake, Server hello (2):
* SSLv3, TLS handshake, CERT (11):
* SSLv3, TLS alert, Server hello (2):
* SSL certificate problem, verify that the CA cert …
Run Code Online (Sandbox Code Playgroud)

linux certificate curl

37
推荐指数
4
解决办法
11万
查看次数

标签 统计

certificate ×1

curl ×1

linux ×1