I am afraid there is a typo missing c, it should be pointed to c.storage.googleapis.com as my example from below screenshot (you have gcp, while mine is static):
In both cases of course, the Full (Strict) SSL working and the resources being cached at Cloudflare and served through it to the end-users (visitors) of my Website(s).
I have checked and as I use Full (Strict) SSL (with Authenticated Origin Pulls even for my server) it’s working properly.
Tested it again few moments ago.
Last but not least, kindly have a look at the below article for more information regarding correct SSL settings and consider having properly setup SSL at Cloudflare:
I looked at your recommendations and I’m afraid I’m completely lost. I just set up Google Cloud Storage over the weekend and so also Cloudflare. I have done the following:
In GCP I created bucket coolprop and object coolprop.js. I’ve set permission open access and the right CORS settings.
Under DNS management, created 2 records with CNAME - one named gcp with target ‘c.storage.googleapis.com’ and the other @ for root. Both are proxied and auto TTL.
Or rather, you have had coolprop folder/directory in your bucket, so the URL should be like gcp.yourdomain.com/coolprop/file.js (or coolprop.yourdomain.com/coolprop/file.js if bucket name contains coolprop and you have directory coolprop inside it and also CNAME coolprop at the DNS tab of Cloudflare dashboard).
Your CNAME record is gcp.
It should be named as same as your bucket coolprop to make it work.
Or, better way to re-check and rename your bucket to gcp.yourdomain.com - must contain bucket-name.yourdomain.com (actual, this here is an example maybe you are missing a domain name part in your bucket name?).
That’s good.
Not needed and actually would cause some issues I think.
I would better if I want to serve static website from a bucket, create another bucket.
Screenshot of Google Cloud Platform → Google Storage, where your bucket is (to see if the name of the bucket is the gcp.ganibganapathi.com)
Screenshot of your DNS tab where the CNAME gcp record can be seen () and pointed to c.storage.googleapis.com
Screenshot of options for the Bucket (if it is public online, etc.) just in case if missing Permissions → Storage Object Viewer → AllUsers?, etc.
@fritex, just wanted to say thank you as it worked after fixing the error you spotted. There was one additional step - I had to verify I am the owner of the coolprop.ganbganapathi.com on the GCS Webmaster Central site. Once that was done, I was all set.