I have always managed to use Odoo's API with this but now I have a new Ubuntu server and whenever I try to login, I get:
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)
Login process:
server = ServerProxy(SERVER+'/xmlrpc/common')
uid = server.login(db, user_id, password)
server = ServerProxy(SERVER+'/xmlrpc/object')
Any ideas how to fix this?