campaignmonitor / createsend-php

A PHP library for the Campaign Monitor API
http://campaignmonitor.github.io/createsend-php
Other
285 stars 106 forks source link

SSL: no alternative certificate subject name matches target host name 'api.createsend.com' #87

Open bertheyman opened 6 years ago

bertheyman commented 6 years ago

On some requests, the following error is produced:

Error making request with curl_error: SSL: no alternative certificate subject name matches target host name 'api.createsend.com'

I haven't managed to find a pattern in the requests this is occurring in. Did anyone encounter the same problem? Any workaround or fix possible?

PHP version: 7.1