Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

PHP Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages:


$options=array(
    "ssl"=>array(
        "verify_peer"=>false,
        "verify_peer_name"=>false,
    ),
);  
$r = file_get_contents("https://yoursite.com/", false, stream_context_create($options));
 
PREVIOUS NEXT
Tagged: #PHP #SSL #operation #failed #code #OpenSSL #Error
ADD COMMENT
Topic
Name
1+6 =