fsockopen ssl failure: why?
I have a call to open a socket that works using tcp:
$s = fsockopen("tcp://siteaddr",80,$errno,$errmsg,20);
But if I change it to "ssl:"... it fails. $s comes back false, and $errno is 0. The doc says that this set of return values "is most likely due to a problem initializing the socket." Great.
Can someone suggest places to look to figure out what the problem might be? I have the openssl package enabled in php, if that matters.
If I go to a browser and invoke the site using "http" and "https" it works in both cases (but it does warn about ssl certificate issues if using https). Is this a clue, or is this irrelevant?
Thanks in advance...
-don
|