Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-62553

curl skip cert verify not work on test/dev env

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Not a bug
    • Affects Version/s: 3.2.9, 3.3.6, 3.4.2, 3.5
    • Fix Version/s: None
    • Component/s: Files API
    • Labels:

      Description

      When using file_storage function "create_file_from_url" with option array ['skipcertverify' => true], the curl function still will try to verify the host

      We need to add CURLOPT_SSL_VERIFYHOST setting as well and not only CURLOPT_SSL_VERIFYPEER

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: