Skip to content

Commit

Permalink
Merge pull request #492 from gregcorbett/curlopt_update
Browse files Browse the repository at this point in the history
Update CURLOPT_SSL_VERIFYHOST
  • Loading branch information
gregcorbett authored Oct 12, 2023
2 parents 1fa08cf + 2b7b2f3 commit af72b89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/web_portal/GOCDB_monitor/tests.php
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ function get_https2($url)
CURLOPT_FOLLOWLOCATION => false,
CURLOPT_MAXREDIRS => 0,
// VERIFYHOST checks that the CN in the certificate matches what we asked for
CURLOPT_SSL_VERIFYHOST => true,
CURLOPT_SSL_VERIFYHOST => 2,
// VERIFYPEER checks that we trust the certificate's issuer (CA)
// If you are testing with a self-signed host certificate, you will have to
// copy the host's .pem certificate into CURLOPT_CAPATH or
Expand Down

0 comments on commit af72b89

Please sign in to comment.