You can clone with
I try to send a push notification to an iphone, but I have a problem with the certificate I think.
When I launch rake apn:notifications:deliver --trace
** Invoke apn:notifications:deliver (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute apn:notifications:deliver
SSL_connect returned=1 errno=0 state=SSLv3 read finished A: sslv3 alert certificate unknown
rake apn:notifications:deliver --trace
When I convert the certificate with this command :
openssl pkcs12 -in Certificates.p12 -out apple_push_notification_development.pem -nodes -clcerts
It asks me to enter an Import Password.
After that I obtain this result: MAC verified OK
MAC verified OK
So I think it's ok. But actually no. I don't know why it doesn't work. Do you have any idea ?
Here is the ruby version I'm using: ruby 1.8.7 (2009-06-12 patchlevel 174) [i486-linux]
I'm working on an Ubuntu Server version 9.10
ruby 1.8.7 (2009-06-12 patchlevel 174) [i486-linux]
P.S: This is the first time I use Ruby.
i am having the same issue right now
My problem was finally the certificate. I just made a new and everything was fine. Check you forgot nothing in the process to get and convert your certificate.