I was trying to use the SharePoint REST API to be able to access SharePoint documents within Drupal. In a PoC on my Ubuntu machine this worked fine, but on my development docker I got this curl error. I added the option CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1.
Since the server has an organization-internal SSL certificate which my docker isn't aware of I set CURLOPT_SSL_VERIFYHOST and CURLOPT_SSL_VERIFYPEER to false, too. That did the trick (at least for development purposes).
Noch kein Feedback
Formular wird geladen...