Hi all, i read a lot of messages about signing of midlets
Now i need to sign my midlet, so I try to explain what i have understand and Id like if u can help me where im wrong
Steps:
A) Create keystore
keytool -genkey -alias [SignedMidlet] -keyalg RSA -keystore midlet.sks
Here we have to add info about us: Name, Company, etc
[midlet.sks will be created]
B) Create certificate req:
keytool -certreq -alias [SignedMidlet] -keystore midlet.sks -file request.csr
Now we have to send request.csr for purchase a code-signing certificate from a CA (named for example CERT_FILE)
C) Certificate returned from CA can be imported:
keytool -import -file [CERT_FILE] -alias [SignedMidlet] -keystore midlet.sks
D)
Now with SUN Wireless toolkit we can do:
Run Utilities from start menu -> Sign Midlet -> Import Key Pair -> Select 'midlet.sks'
E)
Finally we can do:
Run Utilities from start menu -> Sign Midlet -> Sign MIDlet Suite -> Select out JAD
If I understand well, this will work...
In your opinion, is ok?
About CA:
We have to buy only Code-Signing certificate
Verisign or Thawte?
I need that application will:
Send SMS, Read into file system, Accept SMS-Push, Autostart, Camera control and gprs connection
And i need that after install the midlet no question will be for user and no special config will be done into user-phone
Verisign
http://www.verisign.com/products-ser...ing/index.html
Sun Java Signing Digital ID
Used with the Signing tools part of the Sun Java SDK, this certificate is used for generating digital signatures for Java Archive (JAR) files: Java applets, midlets and other Java applications that may be deployed stand-alone or in the IE or Netscape browsers.
1-Year$ $ 499
Thawte
https://www.thawte.com/process/retai...uctType=devel2
Certificato Sviluppatore JavaSoft
Questi certificati possono essere utilizzati con JavaSoft's JDK 1.3 e successivo per firmare applets.
Sorry but web page translate all in italian, anyway here no talk about midlets...only about applets
Is the same?
1-Year$ $ 199.00
My question is:
1) When you sign any midlet, you use Thawte or Verisign (the price is really different)?
2) What problems i will meet using Verisign or Thawte ?
3) All permission i need, will work using Verisign or Thawte?
Thanks for info and I hope this post will help other too
Matteo

Reply With Quote


