-
-
Notifications
You must be signed in to change notification settings - Fork 959
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSL certificate problem: self signed certificate in certificate chain #116
Comments
Seem that you configuration can't start ssl connection. |
Windows 8.1, PHP Version 5.6.8, curl 7.40.0. |
Looks like a PHP/cURL issue, because it's sending the request using SSL to the Telegram API. I found this guide for Windows online: https://wiki.cacert.org/HowTo/InstallCAcertRoots |
Feel free to reopen this if you need |
I am using GetUpdate method but I am still facing SSL error. What settings I need to set in GetUpdate method?
2016-03-09 13:38:22 exception 'Longman\TelegramBot\Exception\TelegramException' with message 'SSL certificate problem: self signed certificate in certificate chain' in C:\xampp\htdocs\t\src\Request.php:162
Stack trace:
#0 C:\xampp\htdocs\t\src\Request.php(239): Longman\TelegramBot\Request::executeCurl('getUpdates', Array)
#1 C:\xampp\htdocs\t\src\Request.php(397): Longman\TelegramBot\Request::send('getUpdates', Array)
#2 C:\xampp\htdocs\t\src\Telegram.php(359): Longman\TelegramBot\Request::getUpdates(Array)
#3 C:\xampp\htdocs\t\getUpdatesCLI.php(22): Longman\TelegramBot\Telegram->handleGetUpdates()
#4 {main}
The text was updated successfully, but these errors were encountered: