Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ssl/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ssl Google云平台Bucket:通过https通过自定义域提供内容_Ssl_Google Cloud Platform_Google Cloud Storage - Fatal编程技术网

Ssl Google云平台Bucket:通过https通过自定义域提供内容

Ssl Google云平台Bucket:通过https通过自定义域提供内容,ssl,google-cloud-platform,google-cloud-storage,Ssl,Google Cloud Platform,Google Cloud Storage,我创建了一个bucket,名为app.example.com,并分配DNS记录指向该bucket。网站(桶的内容)可在http://app.example.com 现在我需要通过https提供服务 我已经创建了负载平衡器 带有“backend bucket”,指向example.combucket。选中“启用云CDN”选项 使用“主机和路径规则”选项: 主机:`app.example.com 路径:/* 后端:指向“后端存储桶” 使用“前端配置”:我从godaddy购买了ssl证书,并将其

我创建了一个bucket,名为
app.example.com
,并分配DNS记录指向该bucket。网站(桶的内容)可在
http://app.example.com

现在我需要通过https提供服务

  • 我已经创建了负载平衡器
    • 带有“backend bucket”,指向
      example.com
      bucket。选中“启用云CDN”选项
    • 使用“主机和路径规则”选项:
      • 主机:`app.example.com
      • 路径:
        /*
      • 后端:指向“后端存储桶”
    • 使用“前端配置”:我从godaddy购买了ssl证书,并将其添加到这里。我想,如果谷歌已经接受了它,那么这意味着它是有效的,格式正确等等

  • 不过,内容是通过http提供的,如果我试图使用https,浏览器会抱怨安全问题。

    听起来您已经配置了DNS,使得app.example.com CNAME记录指向云存储。相反,您需要一个app.example.com记录来指向您的负载平衡器的IP地址。

    听起来您已经配置了DNS,使得app.example.com CNAME记录指向云存储。相反,您需要一个app.example.com记录来指向负载平衡器的IP地址