Python SSL Error

Just getting started using the python api, and I am getting a SSL error

SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1076)

Python code:
client = asana.Client.access_token(personal_access_token
me = client.users.me()

I followed the install instructions. openSSL ver 1.1.1d.

Any ideas?

Hi Travis, I have the same issue. Did you manage to resolve it?

I managed to get it to work.

Python code:
me = client.users.me(verify=False)

This removes certificate verification.

1 Like