Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • Top solution just disabled SSL which is unsafe - this works a lot better. Commented Jan 12, 2022 at 9:38
  • This is a simple solution, even though it is not as direct as the one by elitechief. The accepted one leads to a security breach. Commented Mar 25, 2022 at 13:44
  • 1
    Leads to similar error on my side: User Notice: SSL certificate problem: unable to get local issuer certificate Commented May 10, 2022 at 12:46
  • 1
    How is this functionally different than file_get_contents? It does nothing to address the SSL issue. Commented Jul 20, 2022 at 0:09
  • @MarshallC My answer is not functionally different than file_get_contents. It just solves the problem under most circumstances without creating a security nightmare. Commented Jul 21, 2022 at 3:40