Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about SSL certificate #23328

Closed
Ailina0728 opened this issue Dec 6, 2019 · 0 comments
Closed

Question about SSL certificate #23328

Ailina0728 opened this issue Dec 6, 2019 · 0 comments
Labels

Comments

@Ailina0728
Copy link

@Ailina0728 Ailina0728 commented Dec 6, 2019

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://cn.pornhub.com/view_video.php?viewkey=ph5cd0fa2bd9016']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2019.11.28
[debug] Python version 3.8.0 (CPython) - Linux-3.10.0-1062.1.2.el7.x86_64-x86_64-with-glibc2.17
[debug] exe versions: none
[debug] Proxy map: {}
[PornHub] ph5cd0fa2bd9016: Downloading pc webpage
ERROR: Unable to download webpage: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)> (caused by URLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)')))
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 627, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2237, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/local/python3/lib/python3.8/urllib/request.py", line 525, in open
response = self._open(req, data)
File "/usr/local/python3/lib/python3.8/urllib/request.py", line 542, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/usr/local/python3/lib/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/usr/local/bin/youtube-dl/youtube_dl/utils.py", line 2725, in https_open
return self.do_open(functools.partial(
File "/usr/local/python3/lib/python3.8/urllib/request.py", line 1320, in do_open
raise URLError(err)

How can I solve this problem without having to add a command that ignores the certificate every time

@dstftw dstftw closed this Dec 6, 2019
@dstftw dstftw added the duplicate label Dec 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.