07-08-2009 05:51 AM
I Developing an app that uses HTTPS connections, when i try to make a connection the dialog to manage the certificates is showed. I use the option "trust certificate" but the device show the next message: "the certificate could not be added to the trusted key store due to IT policy restrictions". The only way to trust the certificate is in options-> security options -> Certificates -> (select my certificate signed with a red cross) use Trust Option, then my certificate is signed with a yellow ? and the app works fine.
There is a way to trust my certificate directly from my app?
07-08-2009 11:09 AM
If the policy allows it, the user can click 'Trust' in the warning dialog, enter his/her passfrase and add the certificate as trusted. Notice the app has no control over the policy or those dialogs, the way it should be. An app has absolutely no business messing around with the OS' key store.
In regular JAVA the application is allowed to override the trust check for its own connection to allow self-signed certificates and such without warning the user, and without modifying the system. That's a good thing. I've not found any similar mechanism in RIM's API, so the answer is "probably not".
07-09-2009 06:58 AM
07-09-2009 11:19 AM
Perhaps the browser uses internal-API to do this? As third party developers we have no access to the internal API.
This thread also seems to suggest 3rd party applications cannot intervene in the trust check process.
04-29-2010 01:53 PM
I recently cleaned out my phone and now I keep seeing "The certificate could not be added to the Trusted Key Store due to IT Policy restrictions" how do I fix this? The only app I have and use is Skydeck. And I can't add the key and I have no idea why. any suggestions?