Unable to configure Google Cloud Pub/Sub push subscriber

南楼画角 提交于 2019-12-01 23:23:45

问题


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:


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.



来源:https://stackoverflow.com/questions/32800269/unable-to-configure-google-cloud-pub-sub-push-subscriber

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!