The mistake I have done was I was uploading the p12 certificate of apple development certificate and distribution certificate , instead I should have downloaded the APNs certificate from developer.apple.com site and installed it on my PC and then extract the p12. if anyone is doing same mistake as me , u might find this helpful