Closed NiklasVousten closed 2 years ago
When trying to get old data from a language course, it strangely fails with an ssl error, but the file isnt available anymore, so it is not clear why it fail because of SSL.
Because it never established a proper connection. The reason is that the server responds with an improper certificate (as can be seen in the traceback) - in this case it probably does not list intermediate certificates. This does not occur in the browser as they implement some more rigorous fallbacks and automatically try to obtain such intermediate certificates. Trying to get the file (or any other part of the website) by other means (openssl s_client -connect www.jki.de:443
, curl
, wget
etc.) also leads to this error.
Sadly there is no solution we can provide without compromising security. The most reasonable thing to do would be to write a mail to the webmaster of the website and ask him to use the proper certificate chain.
When trying to get old data from a language course, it strangely fails with an ssl error, but the file isnt available anymore, so it is not clear why it fail because of SSL.
This Exception creates the two following exceptions:
Windows 10, Powershell, Python 3.9 Virtualenvironment (The same error occured in git bash)