其他分享
首页 > 其他分享> > 忽略https域名校验不通过

忽略https域名校验不通过

作者:互联网

curl

curl 报错:

curl: (51) Unable to communicate securely with peer: requested domain name does not match the server's certificate.

wget

增加参数:—no-check-certificate

wget 'https://subdomain.example.com/goods.json' --no-check-certificate

标签:校验,域名,https,curl,subdomain,com,example
来源: https://www.cnblogs.com/moniter/p/hu-luehttps-yu-ming-xiao-yan-bu-tong-guo.html