×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Sep 2007
    Posts
    15

    Unhappy secure certificate in a real device??

    regards!!


    I have a doubt ... I´m develops an application in J2ME using a secure connection with HTTPS, and
    I'm using apache with self signed certificate ...., (use OpenSSL to do this), to run the application in the emulator,
    I need to add the root certificate to the certificate store of the emulator, once done, the connection
    works perfectly .....

    my problem is that: when I moving the application to an real device (I'm doing tests with a nokia 5310 and a Sony K550),
    the applicative don´t work and show me a runtimeException: Invalid certificate (bad certificate ).... I guess that is because I need to add the root
    certificate to use for apache, in the real device ......, but I searched and read many forums, but i can´t find how
    to do this... anyone have any idea?

  2. #2
    Nokia Developer Champion
    Join Date
    Sep 2007
    Posts
    915

    Re: secure certificate in a real device??

    Quote Originally Posted by -Icaro- View Post
    regards!!


    I have a doubt ... I´m develops an application in J2ME using a secure connection with HTTPS, and
    I'm using apache with self signed certificate ...., (use OpenSSL to do this), to run the application in the emulator,
    I need to add the root certificate to the certificate store of the emulator, once done, the connection
    works perfectly .....

    my problem is that: when I moving the application to an real device (I'm doing tests with a nokia 5310 and a Sony K550),
    the applicative don´t work and show me a runtimeException: Invalid certificate (bad certificate ).... I guess that is because I need to add the root
    certificate to use for apache, in the real device ......, but I searched and read many forums, but i can´t find how
    to do this... anyone have any idea?
    Welcome to the Forum Nokia. You will have to sign application to remove prompts from thawte,versign or any. Using open SSL you might found it is working in S60 2nd edition and emulator. For root certificate. You will not be allow to add root certificate on device because it is the manufacturer privileges so we cannot do it.

  3. #3
    Registered User
    Join Date
    Mar 2003
    Posts
    4,105
    -Icaro-, please have a search for application/x-x509-ca-cert. By the way, which emulator do you use? I guess many would benefit from a small little tutorial how to do that for your emulator.

    honest_success, just to add a small clarification: Users are able to add CA certificates to their phone. However, you might not be able to use it for code-signing that way.

  4. #4
    Registered User
    Join Date
    Sep 2007
    Posts
    15

    Re: secure certificate in a real device??

    thanks for te answers, this is a bad news for me, because one certificate from verising or something similar it´s very expensive ... i needed run my software in devices s40, but in this moment I think is time to rethink my project

    @traud: thx for the link, i´m use the WTK emulator, and add the root certificate for testing it´s very simple, only you need to go from "utilities" and "manage certificates", here you can add or delete root certificates, this works with and file called _main.ks, there are all the certificates used by the emulator

    looks here:
    http://multivac.fatburen.org/localdo.../security.html

    in the section 6.5

  5. #5
    Registered User
    Join Date
    Mar 2003
    Posts
    4,105
    -Icaro-, why are answers like this one bad news? By the way, this trick works the same way for Series 40 SDKs which contain a complete user interface with browser.

Similar Threads

  1. access point on real device problem
    By morost in forum Symbian Networking & Messaging (Closed)
    Replies: 8
    Last Post: 2007-10-25, 12:25
  2. Replies: 11
    Last Post: 2007-09-01, 12:04
  3. Replies: 1
    Last Post: 2006-08-18, 10:22
  4. Replies: 4
    Last Post: 2006-05-19, 09:04
  5. Replies: 6
    Last Post: 2005-04-14, 09:07

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×