GAE SDK 1.7.4 and InvalidCertificateException

后端 未结 4 1968
南方客
南方客 2020-12-08 02:53

Recently, I upgraded my GAE SDK to ver. 1.7.4 and it started to throw \'InvalidCertificateException\' when I try to run development server. I searched about this error and s

4条回答
  •  天涯浪人
    2020-12-08 03:27

    Compact answer, current as of January 2014 (just survived an SDK update):

    rm file /Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/cacerts/urlfetch_cacerts.txt
    

    or ...

    cd /Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/cacerts/
    rm urlfetch_cacerts.txt
    

    and everything runs smoothly again.

    And you better delete "cacerts.txt" (in the same directory), too. Otherwise the sdk command line tools will throw exceptions, too :(

提交回复
热议问题