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

前端 未结 8 2080
醉酒成梦
醉酒成梦 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条回答
  •  悲哀的现实
    2020-12-14 10:00

    few checks :

    1. device token should be - with out spaces and with out < or >
    2. make sure the path of certificate is correct and expired date of it.
    3. make sure the passphrase you are using is the one u used to make certificate

提交回复
热议问题