Skip to content
Advertisement

Tag: apns-php

PHP cURL error “security library failure.”

I’m using the following code to send an apns notification for iOS. It was working fine before but out of no where I started getting this response from cURL “security library failure.” with code 0. This issue only seems to be happening in my development environment, no matter what data is passed in. $url = “https://api.development.push.apple.com/3/device/$device_token”; $sample_alert = $headers =

Advertisement