gpt4 book ai didi

ssl - 将 SSL 应用于 Google Compute Engine 实例

转载 作者:太空宇宙 更新时间:2023-11-03 12:43:39 26 4
gpt4 key购买 nike

我是 Google Cloud Platform 的新手。

我购买了通配符 SSL,想知道如何将通配符 SSL 安装到 Google Cloud Compute 实例中?

我使用 Cloud Shell 通过以下命令在 Google Cloud Platform 上生成了一个 CSRopenssl req -new -newkey rsa:2048 -nodes -keyout yourdomain.key -out yourdomain.csr

我成功激活了我的认证并收到了 ca-bundle 文件。

但我不知道安装 SSL 的下一步是什么。我在 Google Compute Engine 标签中找不到任何关于 SSL 的信息。

How to install a SSL certificate on Google Cloud Platform

如上面的网站所示,我必须通过 App Engine 激活我的 SSL,但我对此有疑问。

最佳答案

在 GCP 中可以使用 SSL 证书的场景多种多样。您链接的文档的步骤适用于 GAE 但不适用于 GCE。

如果您有在负载均衡器后面运行的 GCE 实例,则必须将证书上传到那里。您可以在这个 article 上找到详细信息.

如果您没有使用 GCE LB,而是您的实例直接为流量提供服务,则您必须在服务器上配置证书。 IE。对于 NGINX 你可以关注 these指示。

关于ssl - 将 SSL 应用于 Google Compute Engine 实例,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46519077/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com