How can I fix the SSL problem in Symfony/Goutte How can I fix the SSL problem in Symfony/Goutte symfony symfony

How can I fix the SSL problem in Symfony/Goutte


You need to add HttpClient and disable SSL check... (do this only for debug) not in production!

use Goutte\Client;use Symfony\Component\HttpClient\HttpClient;$client = new Client(HttpClient::create(['verify_peer' => false, 'verify_host' => false]));$client->request('GET', 'https://example.com');