Skip to content
This repository

Certificate Unknown #29

Open
lefreeman42 opened this Issue · 2 comments

2 participants

lefreeman42 Aaron Israel
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.

Aaron Israel
a0n commented

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
Something went wrong with that request. Please try again.