Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
[SSL: DH_KEY_TOO_SMALL] dh key too small #25020
Comments
|
I had the same problem and I noticed that CURL throws the same error during testing.
The temporary workaround for me was to edit /etc/ssl/openssl.cnf and comment out Then it started working. The issue seems to be with Česká Televize website. It supports weak Diffie-Hellman (DH) key exchange parameters - a vulnerability described here: https://weakdh.org/ WGET works just fine. I tried to use |
Hmm I don't have this line in my Ubuntu 20.04 |
|
If it is not there, you can try adding Just make sure you edit the right location, run Same issue for ubuntu here with tip how to do it without modification of system-wide config: https://askubuntu.com/questions/1233186/ubuntu-20-04-how-to-set-lower-ssl-security-level |
Checklist
Verbose log
Description
This should be already fixed in #22335 but I came back after upgrading Ubuntu 19.10 to 20.04. I tested Youtube to verify but it seems to be related to this site only. Since this issue is not present when browsing the site, there must be a way to to convince youtube-dl to accept weak DH keys.