#465·Goutte

SSL routines:tls_process_ske_dhe:dh key too small

Author: rodinmehrCreated May 9, 2022Updated May 9, 2022

I want to crawl a website that uses lower SSL level, and I get this error:

Error:141A318A:SSL routines:tls_process_ske_dhe:dh key too small for example.com

I followed this instruction but with no success: how-to-set-lower-ssl-security-level with the following command to restart php service: $sudo service php8.1-fpm restart

I also used this code to disable SSL check: $client = new Client(HttpClient::create(['timeout' => 60,'verify_peer' => false, 'verify_host' => false]));

how can I fix this issue?