Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to configure Google Cloud Pub/Sub push subscriber

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.

like image 523
sshntt Avatar asked Jan 30 '26 02:01

sshntt


1 Answers

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.

like image 147
Takashi Matsuo Avatar answered Feb 01 '26 19:02

Takashi Matsuo



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!