版权声明:本文为博主汪子熙原创文章,未经博主允许不得转载。 https://cloud.tencent.com/developer/article/1439184
当我本地的HTTPS服务器使用了一个自己生成的证书时,用curl访问这个服务器,遇到如下错误信息:
SSL certificate problem: self signed certificateMore details here: https://curl.haxx.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could notestablish a secure connection to it. To learn more about this situation andhow to fix it, please visit the web page mentioned above
这个网站提供了解决方案。最简单的一种:
使用–insecure忽略: