Skip to content
This repository has been archived by the owner on Nov 19, 2023. It is now read-only.

Commit

Permalink
Disable verify_peer for the SSL check, as we still want to capture …
Browse files Browse the repository at this point in the history
…the SSL cert and because some checks were failing since OpenSSL didn't seem to recognize valid certs
  • Loading branch information
indygriffiths committed Jun 27, 2018
1 parent d4c031c commit 702865f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mysite/code/Jobs/CheckSSLCertificates.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
],
]);

Expand Down

0 comments on commit 702865f

Please sign in to comment.