handle https request on local machine using google appengine sdk

65 views
Skip to first unread message

Chetan Dhembre

unread,
Oct 8, 2013, 11:10:22 AM10/8/13
to google-a...@googlegroups.com
Hi,
   I have created one appplication using google app engine sdk in java. And it is handling http request properly. but i unable to handle https request. I tried to install self signed ssl certificate on my local java home directory but it does not help me. Any on faced this problem ? how to tackle this problem ? please help

Chad Vincent

unread,
Oct 8, 2013, 3:04:14 PM10/8/13
to google-a...@googlegroups.com
Any particular reason you need to test https in dev?

Bryce Cutt

unread,
Oct 8, 2013, 4:17:08 PM10/8/13
to google-a...@googlegroups.com
If you really must do SSL with the SDK you can nginx as a reverse proxy in front of the GAE SDK and have nginx handle HTTPS and serving the certificate.

tom

unread,
Oct 8, 2013, 6:24:39 PM10/8/13
to google-a...@googlegroups.com
We have the following setup:

 - A digicert signed SSL cert for https://www.foo.com, which is our production 'version'
 - A self-signed wildcard cert (free) for https://*.www.foo.com, which we use for all our remote testing (e.g. * = dev, staging, beta, etc)
 - No cert for local testing, all local requests are to http://

To enable this mix we do two things:

1. Where 'absolute' urls are necessary, we make them protocol relative - i.e. "//www.foo.com/bar"
2. We have some application logic that ensures the right protocol is used where necessary (there isnt much of this, and it's factored out)

Between all those things, we dont find it necessary to test SSL/https in a local environment.

tom

Chetan Dhembre

unread,
Oct 8, 2013, 9:28:41 PM10/8/13
to google-a...@googlegroups.com

For now i have created proxy server in node.js it handles https request for me. But i do not know how to handle session between browser and google app engine server through proxy . Any one have solution for this ?

--
You received this message because you are subscribed to a topic in the Google Groups "Google App Engine" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-appengine/CrSSF5TYqKI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.

Vinny P

unread,
Oct 9, 2013, 12:10:58 AM10/9/13
to google-a...@googlegroups.com
On Tue, Oct 8, 2013 at 8:28 PM, Chetan Dhembre <che...@codigami.com> wrote:

For now i have created proxy server in node.js it handles https request for me. But i do not know how to handle session between browser and google app engine server through proxy .



Are you using App Engine's built-in sessions support, or using another framework to maintain session state?
 
 
-----------------
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com 
Reply all
Reply to author
Forward
0 new messages