Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Mubashar's avatar

TelegramSDKException in GuzzleHttpClient.php line 97: cURL error 60: SSL certificate problem: self signed certificate in certificate chain (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)

i try to get chat id but i am stuck here how i can solve this? Here is my method where i try to get chat id

namespace App\Http\Controllers;

use Illuminate\Http\Request;

use App\Http\Requests; use App\Http\Controllers\Controller; use Illuminate\Support\Facades\Validator; use Input;

use Irazasyed\Telegram\Telegram; class TelegramController extends Controller { protected $telegram;

public function __construct( Telegram $telegram )
{
    $this->telegram = $telegram;
}

public function getUpdates()
{
    $updates = $this->telegram->getUpdates();
    dd($updates);
}
0 likes
0 replies

Please or to participate in this conversation.