douhai9043 2017-09-27 14:58
浏览 184

SSL例程:ssl3_get_server_certificate:PHP yii2框架上的证书验证失败

I am using PHP Yii2 framework and my local server is MAMP Pro 4 on MAC OS. My php version was 5.5 and I updated it from system path according to this tutorial(https://gist.github.com/irazasyed/5987693 [instruction on how to change php version][1]). After updating version, I have tried to download widgets from composer, however when I typed composer update it shows following errors:

The "https://bower.herokuapp.com/packages/jquery" file could not be 

downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
Failed to enable crypto
failed to open stream: operation failed

I believe this is a error of updating php version from system path because when I return to my old php 5.5 version my composer worked fine! Many thanks for your attention!

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 名为“Product”的列已属于此 DataTable
    • ¥15 安卓adb backup备份应用数据失败
    • ¥15 eclipse运行项目时遇到的问题
    • ¥15 关于#c##的问题:最近需要用CAT工具Trados进行一些开发
    • ¥15 南大pa1 小游戏没有界面,并且报了如下错误,尝试过换显卡驱动,但是好像不行
    • ¥15 没有证书,nginx怎么反向代理到只能接受https的公网网站
    • ¥50 成都蓉城足球俱乐部小程序抢票
    • ¥15 yolov7训练自己的数据集
    • ¥15 esp8266与51单片机连接问题(标签-单片机|关键词-串口)(相关搜索:51单片机|单片机|测试代码)
    • ¥15 电力市场出清matlab yalmip kkt 双层优化问题