Created
March 3, 2015 09:23
-
-
Save cybertk/fab6f469924d3bbfd9fb to your computer and use it in GitHub Desktop.
APNS-cert.rake
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace :apns do | |
task :verify do | |
openssl s_client -connect gateway.sandbox.push.apple.com:2195 -cert server_certificates_bundle_sandbox.pem -key server_certificates_bundle_sandbox.pem | |
openssl s_client -connect gateway.push.apple.com:2195 -cert pnpush.pem -key pnpush.pem | |
end | |
task :p12topem do | |
openssl pkcs12 -in apns.p12 -out apns.pem -nodes -clcerts | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment