title: Zend Framework 2 Zend_Http_Client SSL Connection Error
body: <p>i want to parse all kinds of ssl/https Sites.</p>
  
  <p>E.g i want the content of <a href="https://microsoft.de" rel="nofollow">https://microsoft.de</a>, but it do not work. Following Erros appears:</p>
  
  <pre><code>    Fatal error: Uncaught exception 'ErrorException' with message 'stream_socket_enable_crypto() [&lt;a href='function.stream-socket-enable-crypto'&gt;function.stream-socket-enable-crypto&lt;/a&gt;]: 
  SSL operation failed with code 1. 
  OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed' 
  in C:\Users\Privat\Desktop\Server\Apache2\htdocs\allsubmitter\server\vendor\zendframework\zend-http\Zend\Http\Client\Adapter\Socket.php:276 
  Stack trace: #0 [internal function]: Zend\Stdlib\ErrorHandler::addError(2, 'stream_socket_e...', 'C:\Users\Privat...', 276, Array) #1 C:\Users\Privat\Desktop\Server\Apache2\htdocs\allsubmitter\server\vendor\zendframework\zend-http\Zend\Http\Client\Adapter\Socket.php(276): stream_socket_enable_crypto(Resource id #35, true, 2) 
  #2 C:\Users\Privat\Desktop\Server\Apache2\htdocs\allsubmitter\server\vendor\zendframework\zend-http\Zend\Http\Client.php(1356): Zend\Http\Client\Adapter\Socket-&gt;connect('microsoft.de', 443, true) #3 C:\Users\Privat\Desktop\Server\Apache2\htdocs\ in C:\Users\Privat\Desktop\Server\Apache2\htdocs\allsubmitter\server\vendor\zendframework\zend-http\Zend\Http\Client\Adapter\Socket.php on line 299
  
  
  
  
  $config = array(
          'adapter'      =&gt; 'Zend_Http_Client_Adapter_Socket',
          'ssltransport' =&gt; 'tls'
  );
  $client = new \Zend\Http\Client("https://microsoft.de");
  </code></pre>