freessl.tech-auto
freessl.tech-auto copied to clipboard
file_get_contents(): SSL operation failed with code 1
Hi! If I want to create SSL for another domain name (different from my current site location), I get an error: file_get_contents(): SSL operation failed with code 1
I edited the AcmeV2.php and Added this code
$arrContextOptions = array(
"ssl"=>array(
"verify_peer"=>false,
"verify_peer_name"=>false,
),
);
$payload_from_uri = @file_get_contents($uri, false, stream_context_create($arrContextOptions));
And it works.
Unfortunately, I can't make the branch and send it in PR.