Hi Richard,
Could you share more details to help us look into this issue?
We wonder:
- What SDK (cloud SDK or app engine SDK), and version, were you using? Asking this because chances are that a antique version of cert cannot connect to Google (yet the chance is low and the cert has to be very antique).
- you can download install arbitrary version of cloud SDK by:
export CLOUDSDK_COMPONENT_MANAGER_FIXED_SDK_VERSION=0.9.57
- Make sure the urlfetch_cacerts.txt was intact from the SDK you were using?
- What was Operating System and version? What was the system openssl version?
I succeeded to run a tweaked the cloudstroage demo on dev_appserver
Attached is the demo app tweaked from python-docs-samples/appengine/standard/storage/appengine-client
NOTE, in main.py line 88-90, I changed arguments to open() to match your report.
88 with cloudstorage.open(filename, 'w', content_type='binary/octet-stream', options={b'x-goog-acl': b'public-read'}) as f:
Also, injecting debug statements in urlfetch api (located in {<cloud sdk root>/platform, <appengine sdk root>}/google_appengine/google/appengine/api/urlfetch.py) I found validate_certificate is False when above demo ran.
Are you trying to connect to real service or just local fake?
Could you attach a minimum demo, which should be a GAE App similar to I attached, to reproduce the SSL validation error?
I am looking forward to your feedback :)