duanji2002 2015-04-20 07:57
浏览 1189

laravel 5 GuzzleHttp客户端https cURL错误35

I am using the GuzzleHttp in laravel 5. was to be connected to https://my-site.com/xxxx/, but it does not lead well.

$client = new Client();

$urlTabinfo = 'https://my-site.com/api/xxxxx/';
$option['login'] = array('id'=>'aaa','pass'=>'xxxx');

$response = $client->post(
                     $urlTabinfo,
                     array('body' => $option));

When you post, an exception is raised.

Message is as follows.

cURL error 35: See http://curl.haxx.se/libcurl/c/libcurl-errors.html

You're running on FreeBSD, /usr/local/share/certs/ca-root-nss.crt there a.

In addition, I ran the following curl command on the OS. The result is as follows.

% Curl -k -vvv https://my-site.com
  :
  :
curl: (35) error: 14077458: SSL routines: SSL23_GET_SERVER_HELLO: reason (1112)

% Curl -k -3 -vvv https://my-site.com
  :

   : * SSLv3, TLS alert, Client hello (1)

Something, and I feel that needs to be set, but do not know well.

It can be seen better, please let me know.

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 素材场景中光线烘焙后灯光失效
    • ¥15 请教一下各位,为什么我这个没有实现模拟点击
    • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
    • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
    • ¥20 有关区间dp的问题求解
    • ¥15 多电路系统共用电源的串扰问题
    • ¥15 slam rangenet++配置
    • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
    • ¥15 ubuntu子系统密码忘记
    • ¥15 保护模式-系统加载-段寄存器