【发布时间】:2017-06-04 03:53:51
【问题描述】:
在过去的几个月里,我一直在做一些 laravel 开发,没有任何问题。在 Windows 10 Creator 更新后,我无法让任何与 OpenSSL 相关的功能正常工作。它们都指向相同的错误代码:1.
第一次失败的尝试很简单,例如:
laravel new blog
产生以下输出
Crafting application...
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Package operations: 59 installs, 0 updates, 0 removals
- Installing doctrine/inflector (v1.1.0): Loading from cache
- Installing erusev/parsedown (1.6.2): Downloading (failed)
Downloading (failed)
Downloading (failed) Failed to download erusev/parsedown from dist: The "https://api.github.com/repos/erusev/parsedown/zipball/1bf24f7334fe16c88bf9d467863309ceaf285b01" 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
Now trying to download from source
...对于大多数软件包,继续这样
重新安装 php 没有帮助
我尝试将 php 重新安装到更新的版本 7.1.5,而不是我当前的 7.1.3(在创作者更新之前工作)。
尝试更新作曲家没有解决它
我去重新安装composer并得到与上面发布的基本相同的错误,但只有一个错误:
The "https://getcomposer.org/versions" 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
当我允许 Windows 10 Creator's Update 破坏了这一切时,我不确定我是否更改了某些设置。
任何帮助将不胜感激。
【问题讨论】:
标签: php windows-10 pyopenssl