VoIPPush icon indicating copy to clipboard operation
VoIPPush copied to clipboard

在终端执行php pushMe-2.php报错

Open guyuekk opened this issue 7 years ago • 5 comments

2017-09-23 5 22 14

guyuekk avatar Sep 23 '17 09:09 guyuekk

请问楼上大神解决了这个报错问题吗?我也一样的,还请多多指教

VinlorJiang avatar Oct 11 '17 04:10 VinlorJiang

最近忙公司项目,好久没有维护这个项目,我抽时间看一下

oopsr avatar Oct 11 '17 08:10 oopsr

刚刚解决了 都是新特性惹的祸,楼主脚本在stream_context_set_option($ctx, 'ssl', 'passphrase', $passphrase);后面需要新增一句stream_context_set_option($ctx, 'ssl', 'verify_peer', false);

VinlorJiang avatar Oct 11 '17 08:10 VinlorJiang

谢谢提醒,我更新一下

oopsr avatar Oct 11 '17 08:10 oopsr

openssl pkcs12 -in push.p12 -out apple_push_notification_production.pem -nodes -clcerts

effortcheep avatar Dec 04 '19 07:12 effortcheep