I already looked here: Curl request is failing on the SSL?
My extension is turned on and I even have curl_setopt( $curl, CURLOPT_SSL_VERIFYHOST, 0);
I will get this error maybe one in a thousand requests to two different services that are unrelated. Since it's so incredibly rare and I can't reproduce it I was wondering if anyone has had a similar situation. I noticed a lot of posts on here are about specific services, but this one is not.
This probably has more to do with what is hosting your remote resource, than how you are accessing it. In any case, you can simply handle this exception and try again. Just be sure to log when you do, so that you can track this issue.
Also, don't retry indefinitely. If there is a real problem you can solve, you don't want processes running forever. One retry should be enough.