I have an IPhone application in which i am implementing push notifications.For that i created a csrfile,p12 file,and production cer.Enabled push notification for the app id.And provision file downloaded.And when i run on the device i got a registering notification came also.But when i combined the pem file from certificate and pem file from p12 key,and generated another pem file and put in my server.The push notifications are not coming in to my phone.I have used this commands on the terminals to create files.`
openssl x509 -in aps_production.cer -inform der -out phoneapp.pem
openssl pkcs12 -nocerts -out phoneappKey.pem -in veapp.p12
cat phoneapp.pem phoneappKey.pem > applicationwebservice.pem
`can anybody help me to get the pem file correctly?