Python API - How to set SSL Certificate check as false?
Relatively new to python and box. Trying to connect to Box python API using below code:
from boxsdk import Client, OAuth2oauth = OAuth2( client_id='YOUR_CLIENT_ID', client_secret='YOUR_CLIENT_SECRET', access_token='ACCESS_TOKEN', refresh_token='REFRESH_TOKEN', )client = Client(auth)user = client.user().get() print('User ID is {0}'.format(user.id))
And getting following error:
OpenSSL.SSL.Error: [('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')]
How can I set cert verify to false? whats the process to store SSL certs? Using windows, python 3.8
Thanks!
-
Hi ,
This Stack Overflow thread should give you some guidance on setting cert verification to false.
- Jon
Please sign in to leave a comment.
Comments
1 comment