Certificate Unknown #29

Open
lefreeman42 opened this Issue Feb 18, 2011 · 2 comments

Projects

None yet

2 participants

@lefreeman42

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.

@a0n
a0n commented Jun 9, 2011

i am having the same issue right now

@lefreeman42

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.

Best regards,

Christophe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment