使用独角数卡链接epusdt时提示如下错误:
CURL ERROR 60: SSL CERTIFICATE PROBLEM: CERTIFICATE HAS EXPIRED (SEE HTTPS://CURL.HAXX.SE/LIBCURL/C/LIBCURL-ERRORS.HTML) FOR
查阅资料后得知PHP跟证书的问题,解决如下:
下载 cacert.pem (http://curl.haxx.se/ca/cacert.pemcacert.pem)
替换php证书配置:
在php配置文件里搜索下面2个关键词:curl.cainfo/openssl.cafile将这2参数的路径修改为上面cacert.pem证书的路径保存,重启php即可。
资料:
https://doge.uk/interesting/curl-error-60-ssl-certificate-unable-to-get-local-issuer-certificate.html
https://blog.xiaoz.org/archives/17363