Implementing Apple Push Notification Service through Java
//Try to connect to APNs
pushManager.initializeConnection(HOST,PORT,"/etc/Certificates.p12", "password", SSLConnectionHelper.KEYSTORE_TYPE_PKCS12);
Whic开发者_JAVA技巧h password am I referencing here? Is it my appleid password?
It's the private key of the .p12 file. The password is required when you export (save) the .p12 file.
精彩评论