一个项目要做PHP自动化,结果开始一步就报错,真是头大。http请求类使用reactphp。运行样例直接报错。上代码
Error: Connection to tls://itnan.ren:443 failed during TLS handshake: failed loading cafile stream: `/etc/pki/tls/certs/ca-bundle.crt'
issue里面也没这报错啊,百度未果,严重怀疑人生了,然后直接使用代码测试
stream_socket_client("ssl://smtp.exmail.qq.com:465", $errno, $errstr, 120, STREAM_CLIENT_CONNECT);
[……]
→点此阅读全部←