title: SSL error in CURL call to Twitter API
body: <p>Below is some code of my controller (dont worry, de keys are fake). Im using the ZendService\Twitter\Twitter module. Almost everything is working only the last error is a bit strange and i can not figure it out:</p>
  
  <p><code>Unable to enable crypto on TCP connection api.twitter.com: make sure the "sslcafile" or "sslcapath" option are properly set for the environment.</code></p>
  
  <p>As you can see i the code below of my controller, you can see that both the Verify of Peer and Host are set to false. The adapter is already set to Curl instead of HTTP.</p>
  
  <pre><code>&lt;?php
  
  namespace Twitter\Controller;
  
  use QDCore\Controller\AbstractController;
  use Zend\Mvc\MvcEvent;
  use Zend\View\Model\JsonModel;
  use ZendService\Twitter\Twitter;
  
  class GetController extends AbstractController
  {
  
      protected $instance;
  
      public function onDispatch(MvcEvent $e)
      {
          $config = array(
              'access_token' =&gt; array(
                  'token' =&gt; '1024003resagsDQGyVC5YZ23423PpBNOwefS',
                  'secret' =&gt; 'oES8Jergewagewahsh2hTqrYGDJo',
              ),
              'oauth_options' =&gt; array(
                  'consumerKey' =&gt; 'QY360Nersehr234gg4aV2pw',
                  'consumerSecret' =&gt; 'eEfgdagewa0Hkt4z6nCqHPY1M4wwuubY',
              ),
              'username' =&gt; 'myusername',
              'http_client_options' =&gt; array(
                  'adapter' =&gt; 'Zend\Http\Client\Adapter\Curl',
                  'curloptions' =&gt; array(
                      CURLOPT_SSL_VERIFYHOST =&gt; false,
                      CURLOPT_SSL_VERIFYPEER =&gt; false,
                  ),
              ),
          );
          $this-&gt;instance = new Twitter($config);
          return parent::onDispatch($e);
      }
  
  
      public function indexAction()
      {
          $result = new JsonModel(array('message' =&gt; 'No valid function call made'));
          return $result;
      }
  
      public function usertimelineAction()
      {
          $options = array(
              'user_id' =&gt; 'myaccountname',
              'count' =&gt; 30,
          );
          $twitter = new Twitter($options);
          $response = $twitter-&gt;statuses-&gt;userTimeline();
          var_dump($response);
          die;
          return new JsonModel($response);
      }
  }
  </code></pre>
  
  <p>Hope that someone has an idea on how to fix it. My main domain is not running on SSL and is not going to be.</p>
  
  <p>Thanks</p>