File_get_contents(): SSL error


There is new error I get each time I uses
file_get_contents() for any SSL URL

My username

Website url

Error Message

Warning : file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in /home/vol8_7/ on line 3

Warning : file_get_contents(): Failed to enable crypto in /home/vol8_7/ on line 3

Warning : file_get_contents(Bitcoin Price | BTC Price Index and Live Chart - CoinDesk): failed to open stream: operation failed in /home/vol8_7/ on line 3

test.php Code:

<?php $res=file_get_contents(""); echo $res; ?>

Maybe related to this problem:

This is the temporary/permanent solution:


There is a solution on here on how to prevent this problem:

1 Like

got it thank you

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.