Problem Signing midlet .jar file.
[email protected] Mon, 23 Jun 2008 05:45:53 PDT
| Newsgroups | gmane.comp.java.sun.kvm |
|---|---|
| Message-ID | <9002947.217981214225191074.JavaMail.tomcat@sdcst12.sjc.collab.net> |
[b]Hi, I am facing problem in signing midlets.[/b] I have a certificate (.cer)from Verisign which i imported to a keystore and then signed the jar file. The jar is signed but it gives message that the certificate wil expire in six months despite our certificate has the validity till 2011. Also when the application is installed in mobile it appears as invalid application. The steps which I performed are below. [b]step -1 : Created a keystore in d:/[/b] ------------------------------------ keytool -genkey -alias <alias> -keystore d:/myStore.ks -keyalg RSA. [b] THE KEYSTORE CREATED SUCCESSFULLY.[/b] [b]step -2 : importing the certificate in keystore[/b] ------------------------------------------------ keytool -import -keystore d:/myStore.ks -file Certificate.cer. [b]THE CERTIFICATE IMPORTED TO THE KEYSTORE.[/b] [b]Step -3 : Problem occurs in signing the jar[/b]. jarsigner Abc.jar <alias> [b]THE JAR FILE IS SIGNED BUT IT SHOWS THE CERTIFICATE VALIDITY OF SIX MONTHS AND APPEARS AS AN INVALID APP. WHEN INSTALLED IN MOBILE..[/b] [Message sent by forum member 'namit_232' (namit_232)] http://forums.java.net/jive/thread.jspa?messageID=281953 =========================================================================== To unsubscribe, send email to [email protected] and include in the body of the message "signoff KVM-INTEREST". For general help, send email to [email protected] and include in the body of the message "help".