Register for InstructureCon25 • Passes include access to all sessions, the expo hall, entertainment and networking events, meals, and extraterrestrial encounters.
Found this content helpful? Log in or sign up to leave a like!
I believe that I have followed the install directions for placing the Canvas Data 2 Command Line tool on my machine. I've created my Canvas Data 2 API key.
I thought I would try out the simple command below, which is supposed to return a list of table names:
dap list --namespace canvas
But I get an error message:
2024-03-21 15:43:32,166 - ERROR - Cannot connect to host api-gateway.instructure.com:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:992)')]
I see two other recent posts that have received no solutions:
Does this problem have a solution?
Are you using a Mac, by any chance?
We had this issue here and they solved it with the answer from this SO post:
I faced the same issue on MAC OS. My resolution: The issue was with my python installation. I went to theapplications/ python
folder and clicked on theinstall certificate command
it got fixed after that.
Jason
Did you ever find a solution to this? We're having the same problem that just started a few days ago, and the suggestions weren't applicable in our situation.
No solution yet!
I think we got it working. Someone who is more knowledgeable than me about certificates said he just pulled the cert from Canvas' site, and manually imported it into the Python cert keystore. It would be nice if Canvas would document those procedures, for the sake of people like me who don't work with certificates often.
To interact with Panda Bot in the Instructure Community, you need to sign up or log in:
Sign In