Getting error while calling initialize method for Infusionsoft | PHP

Hi All,

I am getting the below fatal error when calling the initialize method.

Fatal error : Uncaught GuzzleHttp\Exception\RequestException: cURL error 60: SSL: no alternative certificate subject name matches target host name ‘api.infusionsoft.com’ (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) in /home/brainwellnessspa/public_html/Bwsbackend/infusion/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:186 Stack trace: #0 /home/brainwellnessspa/public_html/Bwsbackend/infusion/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(149): GuzzleHttp\Handler\CurlFactory::createRejection(Object(GuzzleHttp\Handler\EasyHandle), Array) #1 /home/brainwellnessspa/public_html/Bwsbackend/infusion/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(102): GuzzleHttp\Handler\CurlFactory::finishError(Object(GuzzleHttp\Handler\CurlHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFactory)) #2 /home/brainwellnessspa/public_html/Bwsbackend/infusion/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php(43): GuzzleHttp\Handler\CurlFactory::finish(Object(GuzzleHttp\Handler\CurlHandler) in /home/brainwellnessspa/public_html/Bwsbackend/infusion/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 186

Looking forward to a solution. Let me know if you need more information.

by ‘initilaize’ I’m assuming you’re referring to the OAuth process?

Part of the oauth process MUST give a callback url that is https (with SSL cert). That is when I normally see error 60

This is almost always an older curl client using an unsupported TLS version. Make sure curl is updated to the latest.