Getting errors using APNS PHP

前端 未结 2 851
無奈伤痛
無奈伤痛 2020-12-20 02:58

Here\'s the code I\'m using

 \'This is th         


        
相关标签:
2条回答
  • 2020-12-20 03:04

    I was getting this error also. found out that I had set up the permission wrong on the folder that had the certificate file. This worked for me:

    chmod 755 your_folder_that_has_certificate_files
    
    0 讨论(0)
  • 2020-12-20 03:06
    1. Use the absolute path for the private key instead of relative path.

    2. Make sure the php user (or webserver user, depending.. www-data, apache, nginx, www...) is allowed to read it (chown, chmod).

    0 讨论(0)
提交回复
热议问题