file_get_contents(): SSL operation failed with code 1, Failed to enable crypto
I’ve been trying to access this particular REST service from a PHP page I’ve created on our server. I narrowed the problem down to these two lines. So my PHP page looks like this: <?php $response = file_get_contents(“https://maps.co.weber.ut.us/arcgis/rest/services/SDE_composite_locator/GeocodeServer/findAddressCandidates?Street=&SingleLine=3042+N+1050+W&outFields=*&outSR=102100&searchExtent=&f=json”); echo $response; ?> The page dies on line 2 with the following errors: Warning: file_get_contents(): SSL operation … Read more