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
{{ message }}
This repository has been archived by the owner on Mar 9, 2018. It is now read-only.
This error occurs when the certificate and private key cannot be read from the certificate .pem data. Typically this is because of a bad certificate, but it may also occur if your ruby doesn't have the OpenSSL libraries available.
Can you please check if you can access OpenSSL in your ruby installation?
After following the steps:
app = Rapns::Apns::App.new
app.name = "ios_app"
app.certificate = File.read("/path/to/sandbox.pem")
app.environment = "sandbox" # APNs environment.
app.password = "certificate password"
app.connections = 1
app.save!
But when saving i get this error:
'
"Validation failed: Certificate Certificate value must contain a certificate and a private key"
Any ideas ?
The text was updated successfully, but these errors were encountered: