更新时间:2022-02-26 08:53:41
如果您的服务器具有自签名证书,则默认情况下curl不知道它可以信任服务器是它所说的身份,并且不想说话.
If your server has a self-signed cert, then by default curl doesn't know that it can trust that the server is who it says it is, and doesn't want to talk.
您可以:
-k
或-不安全
开关以忽略并继续.这对于本地发展可能很好.