![](/img/trans.png)
[英]curl error 35 : failed to receive handshake, SSL/TLS connection failed
[英]Symfony installation Error: curl: (35) SSL peer handshake failed, the server most likely requires a client certificate to connect
我想使用以下命令在Mac OS上安装Symfony 3.0:
$ sudo curl -LsS https://symfony.com/installer -o /usr/local/bin/symfony
$ sudo chmod a+x /usr/local/bin/symfony
得到以下错误:
curl: (35) SSL peer handshake failed, the server most likely requires a client certificate to connect
有解决方案吗
部分找到解决方案,假设您已在Mac上安装了Homebrew您可以使用下载安装程序文件
$wget https://symfony.com/installer
并把它放在这个目录中:
$mv installer /usr/local/bin/symfony
通过将名称从安装程序更改为symfony,然后执行:
$sudo chmod a+x /usr/local/bin/symfony
$source .bash_profile
但是,我不知道该怎么做才能自动实现它。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.