最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

google cloud platform - SSL issue with a Domain-named GCP bucket - Stack Overflow

programmeradmin0浏览0评论

I'm facing an SSL issue with a Domain-named GCP bucket - here's the situation: I have created three GCP buckets:

media.dev.example

media.qa.example

media.example

Where example is my domain I've mapped these buckets using CNAMEs pointing to c.storage.googleapis. My domain has a valid SSL certificate, but when I access these URLs or any images within the buckets, they are served over HTTP and show as "Not Secure." I expected the content to be served securely over HTTPS, but that's not happening. I'm not sure if I've missed a step or if there's something specific to Google Cloud Storage or the CNAME setup that needs attention.

Has anyone encountered this issue before or know how to fix it? Any guidance would be greatly appreciated!

I'm facing an SSL issue with a Domain-named GCP bucket - here's the situation: I have created three GCP buckets:

media.dev.example

media.qa.example

media.example

Where example is my domain I've mapped these buckets using CNAMEs pointing to c.storage.googleapis. My domain has a valid SSL certificate, but when I access these URLs or any images within the buckets, they are served over HTTP and show as "Not Secure." I expected the content to be served securely over HTTPS, but that's not happening. I'm not sure if I've missed a step or if there's something specific to Google Cloud Storage or the CNAME setup that needs attention.

Has anyone encountered this issue before or know how to fix it? Any guidance would be greatly appreciated!

Share Improve this question asked Nov 20, 2024 at 15:05 AliOzAliOz 4854 silver badges18 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 1

You cannot without using a Load-balancer.

Cloud Storage doesn't support custom domains with TLS.

See Hosting a static website (with an external load-balancer) for a tutorial on how to do this.

发布评论

评论列表(0)

  1. 暂无评论