youtube-dl: SSL error

Just downloaded a fresh copy 5 minutes ago, tried it with a simple command like this:

youtube-dl https://www.youtube.com/watch?v=NK6B6WjHC68

And there ya go:

[youtube] NK6B6WjHC68: Downloading webpage
ERROR: Unable to download webpage: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)> (caused by URLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)'),))

That’s on Windows 10. All my browsers can open the url perfectly fine without warnings or anything.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 21

Most upvoted comments

@cc0ut As another reporter said in https://github.com/rg3/youtube-dl/issues/9046#issuecomment-204344648: you need to visit https://soundcloud.com/ and https://api.soundcloud.com/ in Internet Explorer or Edge so that Windows will fetch the necessary certificates. If things are still, check “GlobalSign Root CA” in certmgr.msc.