Unfortunately, you cannot use HTTPS with a custom CNAME to a GCS bucket. It is simply a limitation of Google Cloud Storage at the moment.
Google Cloud has a product feedback forum where you can vote on this feature if you like. Check it out at https://googlecloudplatform.uservoice.com/forums/302604-cloud-storage/suggestions/13566852-allow-ssl-on-cloud-storage-with-a-cname
Hi Eric Sopp,
In fact,
I have already set SSL on my google cloud storage’s bucket with setting A record DNS,
It looks like https://sub.domain.com.tw/uploads/2017/10/abc.jpg
but WP-Stateless only can set http without ssl, like this http://sub.domain.com.tw/uploads/2017/10/abc.jpg , so Could you tell me how to fix, or is any other chance, this function will show in the future update?
Many thanks
James
Hey James, I think we fixed this recently. Can you try downloading the fix directly from GitHub? You can do that from https://github.com/wpCloud/wp-stateless/archive/v2.1.zip
Let me know if this resolves your issue.
Hi Eric Sopp,
Thanks to your support, I reinstall WP-Stateless from your archive, but still can’t find where to set https on WP-Stateless, and the domain field still notes “HTTPS is not supported with a custom domain.”
screenshot in here.
View post on imgur.com
Thanks
James
Are you able to add https://
to the domain field?
It works, thank you so much.
offtopic: @yea73920 , if not secret, where is that documented or that is just nice hack of CNAME?
@rolandinsh
1.
I add two http(s) load balance (on GCP) , open 80 、 443 port ,use static ip ,link my bucket
2.I add a subdomain record point to google static ip on my DNS
that’s my way
James