SSL Certificate Verify Failed (_ssl.c:600) using Windows Server 2019
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: (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 -- https://mail.python.org/mailman/listinfo/python-list
Re: SSL Certificate Verify Failed (_ssl.c:600) using Windows Server 2019
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 ‐‐‐ On Thursday, April 30, 2020 4:11 AM, separated via Python-list wrote: > 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: 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 > > -- > > https://mail.python.org/mailman/listinfo/python-list -- https://mail.python.org/mailman/listinfo/python-list
Re: SSL Certificate Verify Failed (_ssl.c:600) using Windows Server 2019
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 ‐‐‐ On Friday, May 1, 2020 1:00 AM, Dieter Maurer wrote: > separated wrote at 2020-4-29 21:11 +: > > > 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: > 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. -- https://mail.python.org/mailman/listinfo/python-list