PHP Warning 'yiiaseErrorException' with message 'get_meta_tags(): SSL operati on failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed'
ation failed with code 1. OpenSSL Error messages:
error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
原因
缺少证书
解决办法
1、下载cert证书到本地D:/nginx/cacert.pem
,地址:https://curl.haxx.se/ca/cacert.pem
2、修改php.ini openssl.cafile=
改为 openssl.cafile=D:/nginx/cacert.pem
3、重新执行即可~
参考: https://my.oschina.net/yearnfar/blog/346727