diff --git a/mysite/code/Jobs/CheckSSLCertificates.php b/mysite/code/Jobs/CheckSSLCertificates.php index 50c91cf..a3cc93c 100644 --- a/mysite/code/Jobs/CheckSSLCertificates.php +++ b/mysite/code/Jobs/CheckSSLCertificates.php @@ -249,8 +249,7 @@ private function getStream($domain) $streamOptions = stream_context_create([ 'ssl' => [ 'capture_peer_cert' => true, - 'verify_peer' => true, - 'verify_peer_name' => true, + 'verify_peer' => false, ], ]);