Apple Push Notification Service with PHP Script

后端 未结 6 1595
盖世英雄少女心
盖世英雄少女心 2021-01-03 02:22

I\'m trying so send push notifications ton my iPhone (APNS). I read this post and try to implement it. So all my certificates are good (normaly).

Now I have this php

6条回答
  •  说谎
    说谎 (楼主)
    2021-01-03 02:30

    You are missing to provice certificate private key. Add this row: stream_context_set_option($streamContext, 'ssl', 'passphrase', $certificatePrivateKey);

提交回复
热议问题