Problem while signing Midlet

Hi to all,

I'm new to j2me programming, but I need to avoid the ask for permission in networking while running a midlet...so, I think the only way is to install a certificate from a trusted authority, isn't it?

Ok, lets assume thats true, I already take on the followings steps:

-Used openssl to create my own CA(that will work for my needs by now)

-manage to create a new keystore using keytool, then generate a new CSR, and from that using openssl I generated the signed certificate

-imported both the root CA certs and then the signed child certificate into the Keystore, so allowing the right chain

- using sun wtk 2.5, I imported the newly created keypair into the standard keystore and with that I signed my midled

- using the tool 'Manage Certificate' I install the root CA certificate into the WTK

I tried to run the signed JAD but I get a 'Cannot read JAD'...also trying into my handset I obtain an 'Unable to verify the digital signature'...of course even here I imported the root CA certificate...

I need to solve this problem urgently, please HELP!!!!!!

[1135 byte] By [lonebeara] at [2007-11-27 8:01:46]
# 1

You will need to use a certificate from a trusted third-party certificate authority like Thawte or Verisgn. In some cases, you will require a certificate from your mobile operator if they have a custom configuration.

You cannot just use the one generated from WTK. That is for development purposes and to test using the emulator.

jonathan.lea at 2007-7-12 19:43:52 > top of Java-index,Java Mobility Forums,Java ME Technologies...