gpt4 book ai didi

google-app-engine - 非默认版本的 appspot.com 子域上的 SSL

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

我想在我的 GAE 应用程序的非默认版本上使用 SSL。对于正常https://my-app.appspot.com我知道我不必做任何事。但是我有另一个版本,在 https://v2.my-app.appspot.com 下并且 SSL 不起作用。它在浏览器中给出以下错误:

Your connection is not private

Attackers might be trying to steal yourinformation from dev.replimeapp.appspot.com (for example, passwords,messages, or credit cards). NET::ERR_CERT_COMMON_NAME_INVALID

最佳答案

请改用以下地址:https://v2-dot-my-app.appspot.com/

Google does not issue SSL certificates for double-wildcard domains hosted at appspot.com. Therefore with HTTPS you must use the string "-dot-" instead of "." to separate subdomains, as shown in the examples below. You can use a simple "." with your own custom domain or with HTTP addresses.

从那里:https://cloud.google.com/appengine/docs/java/config/webxml#Secure_URLs

关于google-app-engine - 非默认版本的 appspot.com 子域上的 SSL,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37723248/

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