woo.. I'm feeling a little bit lucky today !
Finally I managed to install a self-signed cert on my Cingular 6682.
I had to setup a small web site to do that anyway.. it is installed.
I set the trust status of the installed cert like this
Symbian installation : no
Internet: yes
App. installation: yes
online cert check: no
Now, I signed my midlet with my certificate (using sun's WSTK).
Then using Nokia's PC suite software I tried to install my jar file on to the handset - it failed saying 1) untrusted 2) Autherization failed.
I understand (2) is because of (1). But why does it say untrusted ?
I checked the "view details" of the application before installing and I can see the supplier name is correct.
I checked the JAD file and it is like this
MIDlet-1: MyApp, MyApp.png, client.SCMidlet
MIDlet-Description: MyApp desc
MIDlet-Jar-Size: 5579
MIDlet-Jar-URL: MyApp.jar
MIDlet-Name: MyApp
MIDlet-Permissions: javax.microedition.io.Connector.bluetooth.client
MIDlet-Vendor: MyApp
MIDlet-Version: 1.0
MicroEdition-Configuration: CLDC-1.1
MicroEdition-Profile: MIDP-2.0
MIDlet-Certificate-1-1: MIICajCC ......
MIDlet-Jar-RSA-SHA1: QO1BceWQQj2OTzJ3lr ....
and the manifest file is:
MIDlet-1: MyApp, MyApp.png, client.SCMidlet
MIDlet-Description: MyApp desc
MIDlet-Name: MyApp
MIDlet-Permissions: javax.microedition.io.Connector.bluetooth.client
MIDlet-Vendor: MyApp
MIDlet-Version: 1.0
MicroEdition-Configuration: CLDC-1.1
MicroEdition-Profile: MIDP-2.0
hmm.. I smell rats.. why my manifest files doesn't have cert info in it ?
By the way since I am installing jar files directly, does it matter ?
What is the "preferred" way of midlet signing and installation ? any URL's for that ?
Any help is greatly appreciated.
thanks

Reply With Quote


