java - Problem with iPhone push certificate -


i using javapns api push notifications iphone.

i made program worked fine on windows , able receive push notifications on device. when deploying code on server (linux), getting following error -

java.io.ioexception: derinputstream.getlength(): lengthtag=127 big 

i searched net , figured out there wrong .p12 certificate.

does knows can possibly wrong? certificate, when used in windows, still working fine , able send notifications.

please help.

i found problem , silly though. modified permission on .p12 file 777 , worked :p. took me 1 day figure out


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -