Services_Twilio_TinyHttpException in TinyHttp.php line error in Laravel - php

I am trying to send an sms using Twilio driver in Laravel. For that I did all the steps from http://learninglaravel.net/how-to-sendreceive-text-messages-in-laravel/link but still I am getting the error page as
Services_Twilio_TinyHttpException in TinyHttp.php line 119: SSL
certificate problem: self signed certificate in certificate chain
in TinyHttp.php line 119 at Services_Twilio_TinyHttp->__call('post',
array('/2010-04-01/Accounts/AC6bf1e097ae4405b88d7df82678c29d84/Messages.json',
array('Content-Type' => 'application/x-www-form-urlencoded'),
I don't know what's going wrong.

Related

Laravel Websockets with AWS ssl configuration

I has an error when I try to broadcast on channel
Pusher error: cURL error 35: error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://127.0.0.1:6001/apps/1234/events?auth_key=1234&auth_timestamp=1657903485&auth_version=1.0&body_md5=8dc41d7541776abcec80f03003969cf1&auth_signature=c55045c13d8186478889252fcecc021542b3e73854771a1f5bca0c870613eb3f. {"exception":"[object] (Illuminate\Broadcasting\BroadcastException(code: 0): Pusher error: cURL error 35: error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://127.0.0.1:6001/apps/1234/events?auth_key=1234&auth_timestamp=1657903485&auth_version=1.0&body_md5=8dc41d7541776abcec80f03003969cf1&auth_signature=c55045c13d8186478889252fcecc021542b3e73854771a1f5bca0c870613eb3f. at /var/www/obelisk/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php:128)
I already started the server
enter image description here
When I try to connect to it it isn’t work if I used ssl configuration
enter image description here
I used for configuration
'local_cert' => '/etc/letsencrypt/live/obeliskapp.com/fullchain.pem',
'local_pk' => '/etc/letsencrypt/live/obeliskapp.com/privkey.pem',
Conclusion :
It is working if I didn’t use ssl certificate and when I try make it secure it isn’t work , can you help me for this issue.
hint: I updated the curl and when I try to use the full domain instead off 127.0.0.1 it can’t connect from the start .
Thanks

Error sending SMS to user using laravel and nexmo

I'm using laravel to write a SMS application. So I' am also using the Nexmo API, I followed the tutorial on github,
But, when I try to send it on localhost. I got a curl SSL error:
RequestException in Promise.php line 135: <br/>
cURL error 60: SSL certificate problem: unable to get local issuer certificate
(see http://curl.haxx.se/libcurl/c/libcurl-errors.html)

Getting error while trying to implement google authentication in my local website

I'm getting following error while trying to implement google authentication in my local website.
Fatal error: Uncaught exception 'GuzzleHttp\Exception\RequestException' with message 'cURL error 60: SSL certificate problem: unable to get local issuer certificate (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)' in C:\xampp\htdocs\social_login_example\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php:187.
I surfed the given URL but it didn't provide me any useful information to eliminate the error. What is this error and what can I do to remove it.
I'm using chrome web browser and PHP-5.6.8
$guzzleClient = new \GuzzleHttp\Client(['verify' => false]);
Guzzle version 6

cURL ERROR: 0: NSS: client certificate not found

I'm trying to connect to a API using SOAP (nusoap client), but when i try and make a request I get this error:
wsdl error: Getting https://example.com/webservices.asmx?WSDL - HTTP ERROR: cURL ERROR: 0: NSS: client certificate not found (nickname not specified)
The API does not require a certificate to connect to the API, but for some reason I am getting an error with a none existent certificate. This code works on my VM, but not on the live site, does anyone know why this error is occurring?
Thanks
Rob

CAS Authentication failed phpCAS

I get error, after successful login in CAS.
CAS Authentication failed! You were not authenticated.You may submit your request again by clicking here. If the problem persists, you may contact the administrator of this site.
and the error in Log file :
PHP Fatal error: Uncaught exception 'CAS_AuthenticationException' in /var/www/CAS-.3.2/CAS/Client.php:2764\nStack trace:\n#0 /var/www/CAS-1.3.2/CAS/Client.php(1224): CAS_Client->validateCAS20('https://sso.jarko...', '', NULL)\n#1 /var/www/CAS-1.3.2/CAS.php(1151): CAS_Client->isAuthenticated()\n#2 /var/www/login.php(8): phpCAS::isAuthenticated()\n#3 {main}\n thrown in /var/www/CAS-1.3.2/CAS/Client.php on line 2764,
any one can help me....??
please
I had the same error before.
I solved the problem after i configure tomcat ssl using keytool of java-7.
Steps:
create store
create cert
import keystore into java-7

Categories