我试图为我的网站配置SSL,但失败了。在
很好,但是
只给我一个谷歌错误页面。在
在看过他们的SSL设置说明好几次之后,我猜不出来了。在
我试过SNI和VIP,但还是没有希望。在
GAE应用不可能有SSL吗?在
编辑:
我正在添加dragonx建议的设置。在
在应用程序yaml在
application: myapp
version: 1
runtime: python27
api_version: 1
threadsafe: true
libraries:
- name: django
version: "1.3"
- name: PIL
version: "latest"
- name: webob
version: "latest"
builtins:
- django_wsgi: on
- appstats: on
inbound_services:
- warmup
handlers:
- url: /static/admin
static_dir: admin_media/
- url: /static
static_dir: static/
编辑2:
^{pr2}$我在下面从builtins中注释掉了上面的处理程序。在
- django_wsgi: on
然而,加上这个标记并不能解决问题。在
编辑3:
为了获得更多信息,我遵循以下三个步骤在我的终端中使用openssl创建SSL证书。在
$openssl genrsa -out yourdomain.com.key 1024
$openssl req -new -key yourdomain.com.key -out yourdomain.com.csr
$openssl x509 -req -days 365 -in yourdomain.com.csr -signkey yourdomain.com.key -out yourdomain.com.crt
对于第二个命令,我输入了这些信息
Country Name (2 letter code) [AU]:KR
State or Province Name (full name) [Some-State]:Seoul
Locality Name (eg, city) []:Seocho
Organization Name (eg, company) [Internet Widgits Pty Ltd]:Gluwa Inc.
Organizational Unit Name (eg, section) []:R&D
Common Name (e.g. server FQDN or YOUR name) []:www.gluwa.com
Email Address []:gluwa@gluwa.com
不过,我不确定它们是否重要。在
编辑4:
我尝试使用GAE服务器的信息来创建SSL,但这都不值得。在
您的DNS条目指向错误的地址:
根据你的截图,它应该是ghs-svc-https-c1099.ghs的CNAME-ssl.googlehosted.com网站. 在
当我试图访问https://ghs-svc-https-c1099.ghs-ssl.googlehosted.com时,我会看到您的证书,如果我发送的GET请求www.gluwa.com网站到服务器,它会从appengine返回一些内容,所以我认为Google这边的所有配置都是正确的。在
不,这不是不可能的。对我来说很好。在
有些东西你没有正确配置。您必须详细描述您的配置,以便任何人都能帮助您解决问题。在
我猜你没有在你的应用程序yaml. 在
相关问题 更多 >
编程相关推荐