Skip to content

AuthorizationFailureError with SSL: CERTIFICATE_VERIFY_FAILED #198

@Masterxilo

Description

@Masterxilo

I ran gdfstool auth --url, visited the URL, got the auth code, then I did this:

$ gdfstool auth --auth ~/gdfs.credentials2 4/AAC_Cy8Q-wboFTYzpV---REST-OMITTED---      
Traceback (most recent call last):
  File "/usr/local/bin/gdfstool", line 125, in <module>
    main()
  File "/usr/local/bin/gdfstool", line 118, in main
    _handle_auth(args)
  File "/usr/local/bin/gdfstool", line 56, in _handle_auth
    _handle_auth_store(*args.auth)
  File "/usr/local/bin/gdfstool", line 50, in _handle_auth_store
    authorize.step2_doexchange(authcode)
  File "/usr/local/lib/python2.7/dist-packages/gdrivefs/gdtool/oauth_authorize.py", line 143, in step2_doexchange
    raise AuthorizationFailureError(message)
gdrivefs.errors.AuthorizationFailureError: Could not do auth-exchange (this was either a legitimate error, or the auth-exchange was attempted when not necessary): [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)

What am I doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions