Loading... # CURL SSL1.0 returns dh key too small ## CMD Usage ### 1) Downgrade the global verification ```bash bash > sudo vim /etc/ssl/openssl.cnf ### content CipherString = DEFAULT@SECLEVEL=1 ``` ### 2) Setup CURL argument ```bash bash > curl -k --ciphers DEFAULT@SECLEVEL=1 'https://example.com' ``` ## Libary ### 1) GUZZLE usage ```php $this->client = new Client([ 'verify' => false, 'http_errors' => false, 'cookies' => true, 'curl' => [CURLOPT_SSL_CIPHER_LIST => 'DEFAULT@SECLEVEL=1'] ]); ``` © Allow specification reprint Support Appreciate the author AliPayWeChat Like If you think my article is useful to you, please feel free to appreciate