title: Symfony SSL connect error for in http client
body: <p>I use http client component in my project symfony for external apis but I found this error when i test api:</p>
  <blockquote>
  <p>SSL connect error for url</p>
  </blockquote>
  <p>configuration of component is basic configuration and also create for request if simple with request method</p>
  <pre><code>   $client = $this-&gt;client-&gt;request(
          'GET',
          $this-&gt;getUrl($route) . $query,
          $this-&gt;options
      );
  </code></pre>
  <p>I use a certificate for https and I enabled openssl extension, also I try to user verify_peer option in options parameters but also error.</p>
  <p>How to fix this error?</p>