Reputation: 38142
What does a Push Certificate P12 file contains -- Private or Public key? Any detail on this will help.
Upvotes: 1
Views: 2885
Reputation: 3215
you will need it to be a pem file for it to work.. the should be some scripts out there to convert p12 files to pem files.
Upvotes: 0
Reputation: 26683
It must contain both public and private key for push notifications to work.
Installing the SSL Certificate and Key on the Server
Upvotes: 3
Reputation: 4932
It depends from how you exported it from keychain. Certificate by it's own is public key. If you exported from Keychain both Certificate+private key, than .p12 will contain them both.
Upvotes: 0