0

To test my nodejs Google App Engine app locally, I run a local node instance per the github examples and the docs. But node does not support HTTPS without setting up the https module and installing a certificate. Does the Google Cloud SDK not already support SSL connections for local dev servers? I am surprised I am not seeing that feature. Initially I will need it to test Firebase Cloud Messaging.

KENdi
  • 7,576
  • 2
  • 16
  • 31
Paul
  • 9,285
  • 6
  • 29
  • 37

1 Answers1

1

The SSL support depends on the local server capability, not on the SDK itself.

The development server bundled with the SDK (only used for standard environment apps!) doesn't support SSL at all: GAE dev_appserver.py over HTTPS

For your flexible environment app the local server is your node server. So you could set that up for HTTPS. Or you could evaluate the proxy approach, an example is documented here: Appengine - Local dev server with https

Dan Cornilescu
  • 39,470
  • 12
  • 57
  • 97