C:\common_command>curl -v -X OPTIONS https://www.baidu.com/
*Adding handle: conn: 0x205e100
*Adding handle: send: 0
*Adding handle: recv: 0
*Curl_addHandleToPipeline: length: 1
* -Conn 0 (0x205e100) send_pipe: 1, recv_pipe: 0
*About to connect() to www.baidu.com port 443 (#0)
* Trying 220.181.112.244...
* Connectedto www.baidu.com (220.181.112.244) port 443 (#0)
*SSLv3, TLS handshake, Client hello (1):
*SSLv3, TLS handshake, Server hello (2):
*SSLv3, TLS handshake, CERT (11):
*SSLv3, TLS alert, Server hello (2):
* SSLcertificate problem: unable to get local issuer certificate
*Closing connection 0
curl:(60) SSL certificate problem: unable to get local issuer certificate
Moredetails here: http://curl.haxx.se/docs/sslcerts.html
curlperforms SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CAcerts). If the default
bundle file isn't adequate, you can specify analternate file
using the --cacert option.
Ifthis HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verificationprobably failed due to a
problem with the certificate (it might beexpired, or the name might
not match the domain name in the URL).
Ifyou'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.
C:\common_command>4、加入系统环境变量