Abhinav
Abhinav

Reputation: 38142

Push notification certificate P12 file

What does a Push Certificate P12 file contains -- Private or Public key? Any detail on this will help.

Upvotes: 1

Views: 2885

Answers (3)

Aaran McGuire
Aaran McGuire

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

Filip Radelic
Filip Radelic

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

Serhii Mamontov
Serhii Mamontov

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

Related Questions