Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Draw This
($0.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 08-06-2009, 10:00 AM   #1 (permalink)
SlumRf
Registered Member
 
Join Date: Jul 2009
Posts: 8
SlumRf is on a distinguished road
Default PHP Push notification problem

Hi,

I have read this tutorial : MacOSCoders Blog Archive iPhone Apple Push Notification Service (APNS)

But I have this error mesage :
Code:
Warning: stream_socket_client() [function.stream-socket-client]: SSL operation failed with code 1. OpenSSL Error messages: error:14094418:SSL routines:func(148):reason(1048) in C:\Program Files\EasyPHP 3.0\www\push\apns.php on line 11

Warning: stream_socket_client() [function.stream-socket-client]: Failed to enable crypto in C:\Program Files\EasyPHP 3.0\www\push\apns.php on line 11

Warning: stream_socket_client() [function.stream-socket-client]: unable to connect to ssl://gateway.sandbox.push.apple.com:2195 (Unknown error) in C:\Program Files\EasyPHP 3.0\www\push\apns.php on line 11
Failed to connect 0
In the tutorial comments someone explain that this is a certificate problem ; in order I :
- Import dev push certificate from apple's backoffice
- In keychain manager : right click / export to certificate.p12 the certificate
- In kechain manager : unfold the certificate to see the private key : right click on private key and export to key.p12
- then continue the terminal instruction from tutorial

Any idea ? How could i test my final ck.pem ?
SlumRf is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 175,021
Threads: 93,865
Posts: 401,923
Top Poster: BrianSlick (7,962)
Welcome to our newest member, hillsims1
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 10:31 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.