I'v been HTTP POSTing data to script.google.com for years with no issues using Adafruit Feather M0 WiFi-ATSAMD21+ATWINC1500. I uploaded the SSL Root Certificates with IDE 1.8 as 2.x does not support non-Arduino boards for this.
Recently, trying to upload the SSL Root Certificate for www.google.com or script.google.com with the IDE upload tools throws the following error...
I've tried many other sites (yahoo.com, arduino.com, etc.) with no problems. It seems that Google has modified something with its SSL Root Certificates.
How can I specify the root certificate to upload to the device, possibly with a different tool than the one provided with the IDE? How does the IDE Firmware Updater tool get the SSL Root Certificates in the first place?
Try again, after updating the firmware for the device, as I just managed to try a new board and get the certificates for script.google.com successfully (in addition to others).