非默认版本的appspot.com子域上的SSL [英] SSL on appspot.com subdomain of non-default version

查看:90
本文介绍了非默认版本的appspot.com子域上的SSL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的GAE应用的非默认版本上使用SSL。对于正常的 https://my-app.appspot.com 我知道我不必这样做一个东西。不过,我有另一个版本,它将在 https://v2.my-app.appspot.com 并且那里SSL不起作用。它在浏览器中给出了以下错误:

I want to use SSL on the non-default version of my GAE app. For the normal https://my-app.appspot.com I know I don't have to do a thing. However I have another version, which would be under https://v2.my-app.appspot.com and there SSL doesn't work. It gives following error in the browser:

Your connection is not private

Attackers might be trying to steal your information 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不会针对在appspot.com上托管的双通配符域颁发SSL证书。因此,对于HTTPS,您必须使用字符串-dot-而不是。。分隔子域,如下面的例子所示。你可以使用一个简单的。与您自己的自定义域或HTTP地址。

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

这篇关于非默认版本的appspot.com子域上的SSL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆