[英]56 Received HTTP code 403 from proxy after CONNECT?
I am getting an "56 Received HTTP code 403 from proxy after CONNECT" Error while generating a lead to salesforce using cUrl from my web page. 我在使用来自我的网页的cUrl生成销售线索时,我收到“56来自CONNECT后收到的HTTP代码403来自CONNECT”错误。 SSL certificate of the site is already expired.
该网站的SSL证书已过期。
UPDATED: 更新:
my code is as follows: 我的代码如下:
curl_setopt($curl, CURLOPT_URL, $_url);
curl_setopt($curl, CURLOPT_POST, count($field));
curl_setopt($curl, CURLOPT_POSTFIELDS, $query_data);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_HEADER, 1);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, FALSE);
curl_setopt($curl, CURLOPT_USERAGENT, "cusom module");
Add 加
AllowCONNECT port[-port] [port[-port]] ...
below ProxyRequests On
in httpd_proxy.conf
of apache proxy 下面的
ProxyRequests On
apache代理的httpd_proxy.conf
中
eg: 例如:
ProxyRequests On
AllowCONNECT 443 563 5000
5000
is port of destination address. 5000
是目的地址。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.