3
votes

I have Google Cloud project consisting of a compute engine instance which I want to configure as a push subscriber of Cloud Pub/Sub service. I have setup an apache webserver with a self-signed certificate on the instance and have also made a DNS entry (abc.mydomain.com) which points to the instance which has a static IP address. I am already a verified owner of the domain (mydomain.com) on webmasters.

Whenever I add the subscription from the Cloud console, it fails with the error: "The subscription could not be added" and does not show any other useful information.

Please help.

1

1 Answers

4
votes

Self-signed certificates are not supported. There are few options for you:

  1. Pay for the certificate
  2. Use App Engine as a proxy
  3. Use pull subscriptions
  4. Use App Engine Managed VM

The last one is basically a Compute Engine instance, but you will get free https connection via a subdomain of appspot.com.