You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
I obtain:
** 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
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
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
Thanks.
Christophe
P.S: This is the first time I use Ruby.
The text was updated successfully, but these errors were encountered:
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.
Hi,
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
I obtain:
** 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
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
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
Thanks.
Christophe
P.S: This is the first time I use Ruby.
The text was updated successfully, but these errors were encountered: