Edujugon / PushNotification

PHP and Laravel Package to send push notifications to Android and IOS devices.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

stream_socket_client() error

umarjavedse opened this issue · comments

Hi, i have question about APNS connection

ERROR
"success": false
"error": "Connection problem: stream_socket_client(): Unable to set local cert chain file `C:\xampp\htdocs\application_name\config/iosCertificates/aps_development.cer'; Check that your cafile/capath settings include details of your certificate and its issuer\r\n"

Thanks in Advance, please mention if irrelevant to package

Hi @Umarjaved420 ,
You must generate a *.pem file as certificate. Hope this link helps.

Thanks for help @Edujugon ,
I have *.cer file for certificate. Isn't it work??

Nop, you must generate a .pem for that. check out the above link I gave you.

Let me know if face any other issue

sure, thanks for valuable suggestion

Hi @Umarjaved420 ,
I'm closing this since it's atually not an issue related to the package.

Anyway, feel free to reopen it if still face any issue :)