Failed to configure Google Cloud Pub / Sub push subscriber

I have a Google Cloud project consisting of an instance of the compute core that I want to configure as a push subscriber to the Cloud Pub / Sub service. I installed the apache web server with a self-signed certificate for the instance and also made a DNS record (abc.mydomain.com) that points to the instance with a static IP address. I already am a verified domain owner (mydomain.com) on webmasters.

Whenever I add a subscription from the Cloud Console, it fails with the error: “Subscription cannot be added” and does not contain any other useful information.

Please, help.

+3
source share
1 answer

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

  • Pay certificate
  • Use App Engine as a proxy server
  • Use tightening subscriptions
  • Use App Engine Managed Virtual Machine

The latter is basically an instance of the Compute Engine, but you will get a free https connection through the appspot.com subdomain.

+4
source

Source: https://habr.com/ru/post/1623611/


All Articles