[英]Whenever I use curl and get error 60 (SSL certificate problem) it also shows me big wall of text. How to hide it?
Whenever I use curl and get error 60 (SSL certificate problem) it also shows me big wall of text:每当我使用 curl 并收到错误 60(SSL 证书问题)时,它还会向我显示大文本墙:
curl performs SSL certificate verification by default, using a "bundle" of Certificate Authority (CA) public keys (CA certs).
curl 默认使用证书颁发机构 (CA) 公钥 (CA 证书) 的“捆绑”执行 SSL 证书验证。 If the default bundle file isn't adequate, you can specify an alternate file using the --cacert option.
如果默认包文件不够用,您可以使用 --cacert 选项指定备用文件。
If this HTTPS server uses a certificate signed by a CA represented in the bundle, the certificate verification probably failed due to a problem with the certificate (it might be expired, or the name might not match the domain name in the URL).
如果此 HTTPS 服务器使用由捆绑中表示的 CA 签名的证书,则证书验证可能会因证书问题而失败(它可能已过期,或者名称可能与 URL 中的域名不匹配)。
If you'd like to turn off curl's verification of the certificate, use the -k (or --insecure) option.
如果您想关闭 curl 对证书的验证,请使用 -k(或 --insecure)选项。
How can i hide only this wall of text?我怎样才能只隐藏这面文字墙?
If you want to suppress this warning, use the suggested options:如果要取消此警告,请使用建议的选项:
-k (or --insecure) -k(或 --insecure)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.