For up-to-date product documentation, see the IBM MobileFirst Foundation Developer Center.
Troubleshooting push notification problems
Find information to help resolve push notification issues that you might encounter.
iOS push notification
- Problem
- The push notification fails to send, and you see the following exception in the server log:
com.notnoop.exceptions.InvalidSSLConfig: java.io.IOException: Error in loading the keystore: Private key decryption error: (java.security.InvalidKeyException: Illegal key size) at com.notnoop.apns.internal.Utilities.newSSLContext(Utilities.java:88) at com.ibm.pushworks.server.notification.apns.ApplicationConnection.createBuilderWithCertificate(ApplicationConnection.java:180) at com.ibm.pushworks.server.notification.apns.ApplicationConnection.<init>(ApplicationConnection.java:59) ...
Actions to take
- Download the unrestricted version of the JCE policy files.
- Log in to Unrestricted SDK JCE policy files.
- Select Unrestricted JCE Policy files for SDK for all newer versions (Version 1.4.2 and higher).
- Click Continue and finish the download process.
The .zip archive contains the following files:
- readme.txt
- local_policy.jar
- US_export_policy.jar
- Update the JCE policy files for the server environment.
- Stop the server.
- Use the new local_policy.jar file and the new US_export_policy.jar file to replace the old local_policy.jar file and the US_export_policy.jar file that are found in the <jdk_path>/jre/lib/security folder.
Note: The <jdk_path> might be bundled with the server.
- Restart the server.
Parent topic: Push notification