title: OPENSSL file_get_contents(): Failed to enable crypto
body: <p>I'm building a personal stock platform (not distributed). A component I would like to have is the EPS graph on this page:</p>
  
  <p><a href="https://eresearch.fidelity.com/eresearch/evaluate/fundamentals/earnings.jhtml?stockspage=earnings&amp;symbols=AAPL&amp;showPriceLine=yes" rel="noreferrer">https://eresearch.fidelity.com/eresearch/evaluate/fundamentals/earnings.jhtml?stockspage=earnings&amp;symbols=AAPL&amp;showPriceLine=yes</a></p>
  
  <p>As you can see, the page is <code>https</code>, so after days of hammering things out, I enabled <code>openssl</code> and now it seems to work for all <code>https</code> pages such as the homepages of facebook and twitter, however it is still not working for the one I need.</p>
  
  <pre><code>file_get_contents('https://facebook.com'); /* works */
  file_get_contents('https://twittercom'); /* works */
  file_get_contents('https://eresearch.fidelity.com/eresearch/evaluate/fundamentals/earnings.jhtml?stockspage=earnings&amp;symbols=AAPL&amp;showPriceLine=yes');
  </code></pre>
  
  <p>I'm getting the warning:</p>
  
  <pre><code>Warning: file_get_contents(): SSL: crypto enabling timeout in C:\xampp\htdocs\index.php on line 3
  Warning: file_get_contents(): Failed to enable crypto in C:\xampp\htdocs\index.php on line 3
  Warning: file_get_contents(https://eresearch.fidelity.com/eresearch/evaluate/fundamentals/earnings.jhtml?stockspage=earnings&amp;symbols=AAPL&amp;showPriceLine=yes): failed to open stream: operation failed in C:\xampp\htdocs\index.php on line 3
  Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\index.php on line 3
  </code></pre>
  
  <p>The only difference I can see is that the fidelity page has a triangle near the https label.</p>
  
  <p><img src="https://i.stack.imgur.com/RWYvz.png" alt="fidelity https label"></p>