APNS + PHP “stream_socket_client(): Failed to enable crypto”

前端 未结 8 2082
醉酒成梦
醉酒成梦 2020-12-14 09:33

I\'m having trouble with using APNS with PHP and getting the following message:

stream_socket_client(): Failed to enable crypto

The problem

8条回答
  •  旧时难觅i
    2020-12-14 10:08

    In my case, the issue was with my mac (OSX Sierra). I uploaded php and cert to my server, ran it, and the notification was delivered.

提交回复
热议问题