尝试创建Laravel项目时出错-OpenSSL错误消息:无法启用加密

时间:2018-06-26 01:54:01

标签: laravel openssl composer-php

我一直在努力创建一个Laravel项目达数小时之久,我进行了很多搜索,但无法找到解决此问题的解决方案。我希望有人以前遇到过同样的问题,或者知道我该如何解决。

我们在这里:

我正在尝试通过以下命令在composer中创建一个简单的项目:

  laravel new blog

还尝试了这个:

composer create-project --prefer-dist laravel/laravel blog



And I'm getting this error:

$ laravel new blog --force
Crafting application...
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Package operations: 67 installs, 0 updates, 0 removals
  - Installing erusev/parsedown (1.7.1): Downloading (failed)
Downloading (failed)
Downloading (failed)    
  

无法从dist下载erusev / parsedown:   “ https://api.github.com/repos/erusev/parsedown/zipball/92e9c27ba0e74b8b028b111d1b6f956a15c01fc1”   无法下载文件:SSL操作失败,代码为1。   OpenSSL错误消息:

error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
Failed to enable crypto
failed to open stream: operation failed
    Now trying to download from source

有人知道如何解决吗?

非常感谢。

0 个答案:

没有答案