11-07-2012 03:59 PM
I am developing an application that uses API's that require code signing. I have recieved my keys, installed and used the code signing tool within the eclipse plugin to sign my application. I can install the application via the Desktop tools and I recieve a prompt "Do you want to grant xxx trusted application status" when I launch the application. Everything is fine after that. Now the issue, I want to distribute the app over the web within my company. I have other applications set up this way, so distribution works, however when I run the app I get the error "xxx uses a secure API", indicating it hasn't been code signed. I copy my .cod files, .jad files, etc to the server from /deliverables/web/ within my eclipse solution. Is the web output not signed? Is there are way to force the eclipse plugin to sign the web output or can you do it manually? Any other reason this would not work?
Solved! Go to Solution.
11-08-2012 10:17 AM - edited 11-08-2012 12:31 PM
Both the standard and web cod files are signed at the same time. You can open the cod files in SignatureTool to verify their signatures.
How are the JAD/COD files being installed? If you are using the browser, what services are active on the device (WiFi, BIS, BES and/or WAP)?
11-08-2012 10:31 AM
I have primarily been connecting over wifi. It seems to download and install fine, however it gives the error message "xxx uses a protected API" when i execute the application.
11-08-2012 10:39 AM
11-08-2012 11:04 AM
That's kinda what I thought too, but I have repeated the process about a dozen times. Thanks for the suggestion, though.
simon_hain wrote:
in 99% of the cases the used file is not signed properly, for example because you copied the wrong file, signed the wrong file etc.
i would suggest that you make a new build, sign the file and upload it, all with extra care, and see if it works.
11-08-2012 12:31 PM
Open the COD files in SignatureTool. Does it show them signed by RBB, RRT and RCR?
11-15-2012 05:11 PM
As it turns out our webserver was actually serving up old versions of files that were not properly signed. We were storing the .cod files in a database and someone wrote the wrong query, basically.
11-16-2012 03:43 AM