解决:windows下php curl https时 SSL operation failed with code 1. OpenSSL Error messages: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in Command line code on line 1

下载证书

curl - Extract CA Certs from Mozilla

https://curl.se/docs/caextract.html

 

配置php.ini ,把路径放上去

 

 

搞定收工

posted @ 2023-01-18 23:38  唯一客服系统开发笔记  阅读(281)  评论(0编辑  收藏  举报