不能添加laravel /宅基地。 “SSL证书问题”。视窗 [英] Can't add laravel/homestead box. "SSL certificate prob..". Windows

查看:293
本文介绍了不能添加laravel /宅基地。 “SSL证书问题”。视窗的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在另外两台机器上安装了laravel homestead,从来没有看到这个问题。我已经搜索和搜索,实施了大量的建议修复,没有什么是为我工作。



我安装了虚拟盒和vagrant,我被困在第一障碍:

  vagrant box add laravel / homestead 

会返回以下错误:





Curl绝对安装,但我没有尝试工作。我需要目的地网站的证书吗?



其他可能有用的信息:




  • 最近做了一个干净的安装Windows 8.1,因为我的新联想笔记本电脑充满了adaware

  • php是通过xampp安装的




任何帮助。 p>




好的,所以我可以通过手动下载laravel / homestead虚拟框,并要求它从下载位置循环在此处发表意见。



这允许我安装laravel并让它运行,但我从来没有解决的问题,所以它回来咬我,每当我尝试要求从作曲家。





主要关注的是RuntimeException,遇到这个异常,然后通过删除之前的分号来解决它; extension = php_openssl.dll



帮助的事情建议我做同样,但检查我的php.ini文件在〜/ xampp / php显示分号甚至不存在,但我仍然得到RuntimeException。



我只能假设顶部的cURL警告与这种情况有关。



我将尝试重新安装xampp,虽然我不乐观。

解决方案

卸载xampp并完全删除其目录,然后重新安装,似乎已经解决了这个问题。 / p>

我不再接受curl警告作为curl的一切,我相信,当xampp卸载时,它被删除。



不知道为什么我首先有SSL证书问题,但如原始帖子中所述,手动下载vm让我绕过它。


I've installed laravel homestead on two other machines and never seen this problem before. I've searched and searched, implemented plenty of suggested fixes and nothing is working for me.

I've installed virtual box and vagrant and I'm stuck at the first hurdle:

vagrant box add laravel/homestead

returns the following error:

I've installed curl.exe with all the dll files I could find and the certificate bundle file in my path environment.

Curl is definitely installed but nothing I try works. Do I need a certificate from the destination site?

Other information that might be of use:

  • Recently did a clean install of windows 8.1 because my new Lenovo laptop came full of adaware
  • php was installed through xampp
  • composer installed
  • latest version of virtual box and vagrant installed

Any help is appreciated.


Ok so I was able to circumnavigate the problem by manually downloading the laravel/homestead virtual box and requiring it from it's download location following advice in the comments here.

This allowed me to install laravel and get it running but I never solved the problem so it's come back to bite me whenever I try to require from composer.

The main concern is the RuntimeException however I have come across this exception before and solved it by removing the semi-colon before ;extension=php_openssl.dll

Similarly help on the matter advises me to do the same, however checking my php.ini file in ~/xampp/php shows that the semi-colon is not even present and yet I still get the RuntimeException.

I can only assume the cURL warnings at the top have something to do with this happening.

I'm going to try reinstalling xampp, although I'm not optimistic.

解决方案

Uninstalling xampp and completely removing its directory, then reinstalling, seems to have solved the problem.

I no longer get the curl warnings as everything to do with curl that I added, I believe, was removed when xampp got uninstalled.

No idea why I was having the SSL certificate problem in the first place but as stated in the original post, manually downloading the vm got me around it.

这篇关于不能添加laravel /宅基地。 “SSL证书问题”。视窗的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆