Python's ftplib has SSL/TLS errors in ubuntu 20.04
I use a Python script to securely connect to a particular SFTP server (bos-sr-
import ftplib
ftps = ftplib.
ftps.login(
On 20.04, the specific error I get is:
[SSL: UNSUPPORTED_
Clearly, it's not purely a Python issue because this code works on every system I listed except 20.04. It seems to be an OpenSSL or certificate issue. Strangely, though, everything else that requires SSL seems to work fine in 20.04. All my apt-get updates/
I have tried installing the Python certifi library and that didn't help. I have tried running "update-
If there's a workaround out there, I'd like to know it of course, but the real issue is that this should JUST WORK because IT ALREADY WORKS on every other Ubuntu system, plus Mac and Windows. Let me know! And thank all of you for your time, seriously. This developer community is amazing. :-)
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Kai Kasurinen
- Solved:
- Last query:
- Last reply: