I was sign up at iron.io and add project_id, token and default key driver to iron in app/config/queue.php
When i use command:
php artisan queue:subscribe laravel http://your-site-url/queue/push
and get error:
[Http_Exception] http error: 0 | SSL certificate problem. verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed. failed queue:subscribe [--type[="... "]] queue url
I'm guessing right now that it's a CURL issue. Curl is setup wrong or not setup to ignore or set to validate the SSL connection.
Add this:
curl_setopt ($ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, 0);
Add this in app/start/global.php
Queue::connection()->getIron()->ssl_verifypeer = false;
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community