Welcome to the new Box Support website. Check out all the details here on what’s changed.

Certificate Verify Failed

New post

Comments

3 comments

  • carycheng77

    Hey , 

     

    Wanted to follow up here and ask if you are running through a proxy of any kind?

     

    There could be a variety of things at play here so we'll try and narrow down the issue. I see you've placed your cert inside your trust store.

    0
    Comment actions Permalink
  • Karim_Baba

    Hello ,

     

      i have the same issue ,i'm just trying to run a simple sample code which is as follow :

     

    from boxsdk import OAuth2, Client
    import requests

    auth = OAuth2(
    client_id='***********',
    client_secret='**************',
    access_token='*********',
    )
    client = Client(auth)

    user = client.user().get()
    print('The current user ID is {0}'.format(user.id))

     

    However i get this error message : 

    requests.exceptions.SSLError: HTTPSConnectionPool(host='api.box.com', port=443): Max retries exceeded with url: /2.0/users/me (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])")))

     

    Could you please provide any kind of assistance on that matter ?

     

    Thanks,

     

    Karim Baba

    0
    Comment actions Permalink
  • Sai Jaswanth Kavali

    Hi Karim. Were you able to resolve the SSL error issue? I have the same issue

    0
    Comment actions Permalink

Please sign in to leave a comment.