[英]php iOS Push Notifications not working
ApnsPHP[11001]: ERROR: Unable to connect to 'ssl://gateway.sandbox.push.apple.com:2195': Connection timed out (110). ApnsPHP [11001]:错误:无法连接到'ssl://gateway.sandbox.push.apple.com:2195':连接超时(110)。
I am using http://code.google.com/p/apns-php/ this code for push notification I am trying to do a php push notification for a iphone application. 我正在使用http://code.google.com/p/apns-php/此代码进行推送通知,我正在尝试为iPhone应用程序执行php推送通知。 I am using a linux server.
我正在使用Linux服务器。 I read lot of articles from net to do this but all articles are not updated all are 2 years back updated.
我从网上读了很多文章来做到这一点,但是所有文章都没有更新,都是2年前更新的。 my issue is ApnsPHP[11001] how to solve this issue please help me.
我的问题是ApnsPHP [11001]如何解决此问题,请帮助我。 some websites suggest to use entrust_root _certification_authority.pem what is this.
一些网站建议使用entrust_root _certification_authority.pem这是什么。 how to get this.
如何得到这个。 is this is unique for each and every websites.
每个网站都是唯一的 is https is necessary for do this.
https是执行此操作所必需的。 please help me.
请帮我。
https is necessary and you need to sign the connection https是必需的,您需要签署连接
the server needs your push certificate. 服务器需要您的推送证书。 therefore, apns-php needs the push certificate, the key to use it and the apple wwdr certificate as well.
因此,apns-php需要推送证书,使用它的密钥以及apple wwdr证书。
that is the pem the article talks about I guess. 我猜这就是这篇文章谈论的话题。 It IS specific to an app > the push certificate and key differ
它特定于应用程序>推送证书和密钥不同
=> so -- IIRC the procedure is roughly: =>所以-IIRC程序大致是:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.