How to turn off SSL certificate validation when using PHP’s file_get_contents
Background At times you might want to avoid certificate checking when developing a PHP application and using file_get_contents. If file_get_contents can’t work the the certificate