Overriding SNI when using fetch()

I'm playing around with workers and I'm trying to fetch a resource from the origin (GCS bucket) using TLS, however the bucket name has dots in it so a fetch() request to https://bucket.name.storage.googleapis.com returns a 526 error because the certificate is for *.storage.googleapis.com (not *.*.storage.googleapis.com).

Is there a way to override the SNI (to something.storage.googleapis.com)? or any other ideas?
Was this page helpful?