Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

SSL Certificate Verify Failed (_ssl.c:600) using Windows Server 2019

134 views
Skip to first unread message

separated

unread,
Apr 29, 2020, 5:17:19 PM4/29/20
to
hello python-list and the subsribers,

I just bought a rdp from someone and try to install python in order to running youtube-dl but when I just run a simple youtube-dl command like 'youtube-dl [youtube video url]' it got me this message :

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

Im operating system is windows server 2019, I have tried running youtube-dl from windows server 2016 but it works fine without any settings necessary.

I hope I can get the answer here because my billing keeps running out of time.

best regards,
separated

separated

unread,
Apr 30, 2020, 6:23:32 AM4/30/20
to
I have tried '-pip install certifi' but it didnt work

I can provide the rdp login to you who want to help, just wont waste my cash for 1 month rdp.

Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> https://mail.python.org/mailman/listinfo/python-list


Dieter Maurer

unread,
Apr 30, 2020, 2:00:56 PM4/30/20
to
separated wrote at 2020-4-29 21:11 +0000:
>I just bought a rdp from someone and try to install python in order to running youtube-dl but when I just run a simple youtube-dl command like 'youtube-dl [youtube video url]' it got me this message :
>
>ERROR: Unable to download webpage: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)> (caused by URLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)'),))

Either the ssl certificate provided by the server is invalid
or Python lacks the necessary CA (= "Certificate Authority") root
certificates for its verification.

I would use a browser to access the url and see what it says
about the used certificate.

Python typically uses the same certificates also used by
browsers. I do not know Windows and cannot tell you where those
certificates are located and how to add additional root certificates.

separated

unread,
Apr 30, 2020, 10:51:54 PM4/30/20
to
thank you for your suggestion, maurer. surprisingly it works.

I tried to download chrome instead my previous browser is firefox, just download it and try to do a simple youtube-dl command and it works.

but I still dont know why when I running a command 'youtube-dl -U' then got a message 'ERROR: can't find the current version. Please try again later' maybe it needs a sudo password.

Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

Dieter Maurer

unread,
May 1, 2020, 12:42:41 AM5/1/20
to
separated wrote at 2020-5-1 02:51 +0000:
> ...
>but I still dont know why when I running a command 'youtube-dl -U' then got a message 'ERROR: can't find the current version. Please try again later' maybe it needs a sudo password.

This looks like a log message (the "ERROR" likely comes from this).
I would search the source code (recursively) for "find the current version"
to locate the piece of code responsible for the message and
then look around to find out why it is generated.
0 new messages