Ignore SSL errors in Zend_Http_Client
Posted
by webdestroya
on Stack Overflow
See other posts from Stack Overflow
or by webdestroya
Published on 2010-05-03T02:35:30Z
Indexed on
2010/05/03
2:38 UTC
Read the original article
Hit count: 355
In PHP curl there are two functions used to ignore all SSL errors (invalid cert, self signed, expired, so on):
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
I am switching over to use Zend_Http_Client, but I can't seem to find a way to force it to ignore errors. (I don't have a way to test it just yet, I wanted to see if anybody has done this before)
So, does anybody know the equivalent function/functions to do this in Zend_Http_Client?
© Stack Overflow or respective owner