如下:Connection to `ssl://pecl.php.net:443' failed:telnet pecl.php.net 443 能连接上的。网上说使用:php -r "print_r(openssl_get_cert_locations());"打印结果是:Array(
[default_cert_file] => /etc/pki/tls/cert.pem
[default_cert_file_env] => SSL_CERT_FILE
[default_cert_dir] => /etc/pki/tls/certs
[default_cert_dir_env] => SSL_CERT_DIR
[default_private_dir] => /etc/pki/tls/private
[default_default_cert_area] => /etc/pki/tls
[ini_cafile] =>
[ini_capath] =>
)我的是有pem文件的,是什么问题?如何解决,环境是CENTOS7.0
添加回答
举报
0/150
提交
取消