Is it time to subscribe to a printer service from HP?

Ever since my dad brought home an...

What’s the best way of buying a phone today?

How did you buy your latest phone?...

MWC: What device highlights did you miss?

So, early last week I predicted that...

Techie help needed re Java mobile certificates

SMS Text News reader Daniel emailed me asking for the help of the ultra techie audience here on the site. Do you know much about certificates and Java for mobile? Perhaps you might be able to help. Here’s his enquiry:

Please help me with this enquiry. I’ve got a Java mobile application that i’m trying to distribute over the internet but whenever the users are trying to install the application and use it, a message keeps on appearing saying the application hasnt got a certificate.

Let me explain the process in downloading the application from the site. The users visit the site, completes the online registration form and by clicking on the download button, a txt file will be generated which will contain the user details, the JAR file which contains the application stored on the server gets extracted and recompiled again with the new txt file.

So whenever users try to activate the application on their phone, the information saved on txt file will be retrieved to authenticate them. Basically, the help i need now is identifiying which company i need to use to integrate the application with the security certificate as the way the application is download makes it a little bit complicated.

It’s definitely a complicated model that Daniel’s implemented. Any thoughts?

6 COMMENTS

  1. Hi

    Unsigned Java applications are placed into what is known as third party untrusted

    There are 4 groups for security, all remove the particular nag Dan has a problem with except the first

    Third Party untrusted (basically an unsigned application)
    Third Party Trusted (Verisign/ Java Verify)
    Operator (Vodafone, T Mobile etc)
    Manufacturer (Sony, Motorola etc)

    Signing applications also allows access and/or removes the nags to protected apis such as JSR 75, http connection.

    The big stumbling block here is you cannot be certain which certificates are on a given phone, the most common ones are the Java Verify programme’s (in the phone as UTi) and the Verisign certificate, however for example not all Motorolas will have the Verisign certificate. Most Sonys do but if we take the Vodafone UK K800 this only has the Java Verify certificate

    Hope the above helps feel free to contact me if you wish further clarification

  2. further to this point as he is recompiling on the fly he is going to have to use a verisign certificate as he needs to be able to self sign the application

  3. Hi,

    I’m also happy to help out on this if Daniel still needs a hand. I’ve done it before with Mobizines, compiling up MIDlets on a server with varying content inside them and then getting the server to sign them. Tricky bits are making sure you have the entire certificate chain inside the JAD file – linking your certificate to the Certificate Authority’s root certificate and (as Kieran says) making sure you only deliver the signed application to phones which have the root Certificate Authority’s certificate installed on them. For ‘trusted 3rd party’ we were using a Verisign Class 3 Code Signing certificate and found that only Sony Ericsson devices consistantly had the root CA installed. Newer devices (last 1-2 years) from many manufacturers do have the certificate installed but it is a hassle testing each device and maintaining a list of which Nokia’s/LG’s/Samsung’s/… do have it and which don’t.

    That is where Java Verified came in as they maintain a list on JavaVerified.com of which devices definitely have the JavaVerified root certificate on them, but then that is expensive and you can’t self-sign.

    Kind regards
    Rich

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Recently Published

Is it time to subscribe to a printer service from HP?

Ever since my dad brought home an HP LaserJet printer (version 3, if memory serves), I have been printing with an HP. Over the...

What’s the best way of buying a phone today?

How did you buy your latest phone? I'm asking because I'm thinking about what I should be doing. When I was living in Oman, I...

MWC: What device highlights did you miss?

So, early last week I predicted that next to nothing from Mobile World Congress would break through into the mainstream media. I was right,...

How Wireless Will Pave the Path to Neobank Profitability

I'm delighted to bring you an opinion piece from Rafa Plantier at Gigs.com. I think it's particularly relevant given the recent eSIM news from...

An end of an era: Vodafone UK turns off 3G services

I thought it was worthwhile highlighting this one from the Vodafone UK team. For so long - for what feels like years, seeing the...

Mobile World Congress: Did the mainstream media notice?

I resolved this year to make sure I wrote something - anything - about Mobile World Congress, the huge mobile industry trade show taking...