HTTPException: invalid and/or missing SSL certificate for url: https://accounts.google.com/o/oauth2/token

前端 未结 3 2143
南旧
南旧 2021-02-08 12:38

When I call for the Google Earth Engine (GEE) Python APIs through Google AppEngine, it throws out a HTTPException which says \"HTTPException: invalid and/or missing SSL cert

3条回答
  •  你的背包
    2021-02-08 13:38

    On the tracker for this GAE issue, the maintainers give a workaround:

    As a temporary workaround, you can replace the expired urlfetch_cacerts.txt with https://curl.haxx.se/ca/cacert.pem

    On linux you can use the following command: wget https://curl.haxx.se/ca/cacert.pem -O {Root of Python SDK}/lib/cacerts/urlfetch_cacerts.txt

提交回复
热议问题