I have my Http Client configured in a way that I would say it doesn't care 
about ssl certificates but still get the following error.

$this->http = new Client([
            'host' => $this->base_url . 'api',
            'scheme' => 'https',
            'type' => 'json',
            'timeout' => 5,
            'ssl_verify_peer' => FALSE,
            'ssl_verify_host ' => FALSE
]);

fopen(): SSL operation failed with code 1. OpenSSL Error messages: 
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify 
failed fopen(): Failed to enable crypto 
fopen(https://104.167.116.87/api-token-auth/): failed to open stream: 
operation failed

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

Reply via email to