Tools

Namespaces

Variants

Views

Actions

Search

Contents

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries. Thanks for all your past and future contributions.

Verisign signing - Java ME

(New page: Inorder for a commercial application which requires access to some specific APIs like JSR 75,JSR 205, JSR 135 etc requires the application to be signed by a professional certificate from t...)

Inorder for a commercial application which requires access to some specific APIs like JSR 75,JSR 205, JSR 135 etc requires the application to be signed by a professional certificate from third party certificate providers like Verisign or Thawte. Before buying out any certificate from these third parties, you have to make sure that the target phone's of your device supports these certificate. You can check it in the settings session of the target Mobile device.

I also came across this requiremnt of signing the application. For this I had gone for verisgn certificate & here is the procedure on how to get a Verisign certificate & Test your application

−

Step 1:

+

A commercial application which requires access to some specific APIs like JSR 75, JSR 205, JSR 135 etc. benefits from getting signed with a commercial certificate from third party certificate providers like [http://www.verisign.com VeriSign] or [http://www.thawte.com Thawte]. Before buying any certificate from these third parties, you have to make sure that the target phone's of your device has the corresponding root certificate installed and set to allow MIDlet signing. You can check this from the settings of the target mobile device.

−

you should have the latest JDK installed in the system.

+

−

Step 2:

+

The following paragraphs contain the description of the process and steps required to get a certificate from VeriSign and to sign & test you MIDlet.

+

==Getting the certificate==

+

+

===Step 1===

+

Make sure, you have the latest JDK installed on your computer.

+

+

===Step 2===

Create a keystore

Create a keystore

You have to generate a public/private key pair, for this enter the following command, specifying a name for your keystore and an alias as well.

You have to generate a public/private key pair, for this enter the following command, specifying a name for your keystore and an alias as well.

Keytool prompts you to enter a password for your keystore, your name, organization, and address.

Keytool prompts you to enter a password for your keystore, your name, organization, and address.

The public/private key pair generated by keytool is saved to your keystore and will be used to sign J2ME applications. This key is never sent to VeriSign and is required to sign code. So you should make a copy of the public/private key pair and store it in a safe deposit box or other secure location. If the key is lost or stolen, contact VeriSign immediately to have it revoked.

The public/private key pair generated by keytool is saved to your keystore and will be used to sign J2ME applications. This key is never sent to VeriSign and is required to sign code. So you should make a copy of the public/private key pair and store it in a safe deposit box or other secure location. If the key is lost or stolen, contact VeriSign immediately to have it revoked.

−

Step 3:

+

===Step 3===

Create a CSR

Create a CSR

Line 28:

Line 55:

2. Begin the enrollment process for a Code Signing ID from the products and services section of the VeriSign Web site.

2. Begin the enrollment process for a Code Signing ID from the products and services section of the VeriSign Web site.

+

3. Copy the contents of the CSR and paste them directly into the VeriSign enrollment form. Open the file in a text editor that does not add extra characters (Notepad or Vi are recommended).

3. Copy the contents of the CSR and paste them directly into the VeriSign enrollment form. Open the file in a text editor that does not add extra characters (Notepad or Vi are recommended).

−

This is the end of requesting the certificates from Verisign.

+

This is the end of requesting the certificates from VeriSign.

−

Now Comes the signing part:

+

==Signing the MIDlet==

−

Step 1:

+

===Step 1===

−

After verisign has verified your request, they will send an email with the digital id attached.

+

After VeriSign has verified your request, they will send an email with the digital id attached.

Latest revision as of 02:47, 25 July 2013

Article Metadata

Article

Created: senthil_k
(29 Jan 2008)

Last edited: hamishwillee
(25 Jul 2013)

A commercial application which requires access to some specific APIs like JSR 75, JSR 205, JSR 135 etc. benefits from getting signed with a commercial certificate from third party certificate providers like VeriSign or Thawte. Before buying any certificate from these third parties, you have to make sure that the target phone's of your device has the corresponding root certificate installed and set to allow MIDlet signing. You can check this from the settings of the target mobile device.

The following paragraphs contain the description of the process and steps required to get a certificate from VeriSign and to sign & test you MIDlet.

Keytool prompts you to enter a password for your keystore, your name, organization, and address.
The public/private key pair generated by keytool is saved to your keystore and will be used to sign J2ME applications. This key is never sent to VeriSign and is required to sign code. So you should make a copy of the public/private key pair and store it in a safe deposit box or other secure location. If the key is lost or stolen, contact VeriSign immediately to have it revoked.