Google App Engine の実行中に http として実行することは可能ですが、https として実行するにはどうすればよいですか?
$ python2.7 /var/tmp/google_appengine/dev_appserver.py --host 0.0.0.0 /var/tmp/app
INFO 2013-08-20 21:21:21,093 dispatcher.py:164] Starting module "default" running at: http://0.0.0.0:8080
INFO 2013-08-20 21:21:21,099 admin_server.py:117] Starting admin server at: http://localhost:8000
編集:
ステップ1:
I purchased a.crt and a.key from a service provider such as heart internet from UK.
ステップ 2: a.crt および a.key ファイルを内容と共に配置します。
sun@sun-M14xR2:/var/tmp/private$ ls
a.crt a.key
sun@sun-M14xR2:/var/tmp/private$ cat a.key a.crt > server.pem
sun@sun-M14xR2:/var/tmp/private$ ls
a.crt a.key server.pem
sun@sun-M14xR2:/var/tmp/private$ openssl gendh >> server.pem
Generating DH parameters, 512 bit long safe prime, generator 2
This is going to take a long time
......................++*++*++*++*++*++*
sun@sun-M14xR2:/var/tmp/private$ stunnel -d 8443 -p server.pem -r localhost:8000 -f -P ''
2013.08.21 09:03:10 LOG5[5368:139785875400448]: stunnel 4.53 on x86_64-pc-linux-gnu platform
2013.08.21 09:03:10 LOG5[5368:139785875400448]: Compiled with OpenSSL 1.0.1 14 Mar 2012
2013.08.21 09:03:10 LOG5[5368:139785875400448]: Running with OpenSSL 1.0.1c 10 May 2012
2013.08.21 09:03:10 LOG5[5368:139785875400448]: Update OpenSSL shared libraries or rebuild stunnel
2013.08.21 09:03:10 LOG5[5368:139785875400448]: Threading:PTHREAD SSL:+ENGINE+OCSP Auth:LIBWRAP Sockets:POLL+IPv6
2013.08.21 09:03:10 LOG5[5368:139785875400448]: Reading configuration from descriptor 3
2013.08.21 09:03:10 LOG4[5368:139785875400448]: Insecure file permissions on server.pem
2013.08.21 09:03:10 LOG5[5368:139785875400448]: Configuration successful