Getting Apple error push notification OpenSSL :: SSL :: SSLError

OpenSSL :: SSL :: SSLError (SSL_connect SYSCALL returned = 5 errno = 0 state = SSLv3 reads the session from server A):

Library Integration for Apple Push Push Houston. Since the last two months, it worked smoothly, but now received this error in the application.

Causes many solutions to solve problems.

Also tried to use the new pem certificate file, but got the same error. Sometimes it works

Help solve the problems.

+7
ruby ruby-on-rails ruby-on-rails-4 gem apple-push-notifications
source share
1 answer

The error strictly indicates that you are using the wrong APNS certificate. It may be expired, or is it just an old type of certificate (created before December 2015).

A year ago, Apple introduced new universal certificates, and today it only supports them. Therefore, you need to create a new universal certificate in order to activate push notifications again.

There is a .p12 extension in the apple.com certificate, you may not be able to convert it.

Another stone that I use to send apns (rpush) notifications can use p12 certificates without any problems. You can also send a test run using the Rpush gem to find out if there is a Houston problem or a certificate problem.

0
source share

All Articles