×

Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 27

Thread: x.509 certs

  1. #1
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    170

    x.509 certs

    Hey me again .
    I have a little problem (again). I haven't realy solved the problem with my app concerning the access to the local filesystem. So I have a short question. Is there a way I can get a temporary code signing cert (x.509 specification)?
    This is making me mad . But I won't give up.

    Best Regards

  2. #2
    Super Contributor
    Join Date
    Mar 2006
    Location
    Phoenix, AZ. USA
    Posts
    556

    Re: x.509 certs

    what is the type of your device, i.e. model, manufacturer, carrier?
    Jason Glass
    http://IChiBanComputers.Com

  3. #3
    Registered User
    Join Date
    Dec 2005
    Location
    Brazil
    Posts
    1,884

    Re: x.509 certs

    Hi lpinguin,

    AFAIK certificates do have an expiration date, what do you mean by saying "temporary" ? Free trials? I'm not sure if anyone offers code signing trial, maybe SSL ones...anyway, try:

    http://www.thawte.com/ssl-digital-ce...es/free-trial/

    BR
    Last edited by juarezjunior; 2006-04-04 at 19:08.

  4. #4
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    170

    Re: x.509 certs

    I am targeting 6230i. I already ordered a cert from thawte. I also send the app to java verified. The test provider was not able to test the software successfuly. What I do is, I access the mmc. Without read write access it wotks fine (to read the mmc). But if I try to write something on the mmc (with the signed app(?!)) a errror message is shown, which sais that I have no permission to access this type of memory. In the emuloator (simulating trusted domain) et works fine but not on the device.

  5. #5
    Super Contributor
    Join Date
    Mar 2006
    Location
    Phoenix, AZ. USA
    Posts
    556

    Re: x.509 certs

    I'll try writing to the mmc from my app on the 6630TMobile

    Signed and unsigned, and see what is allowed!
    Jason Glass
    http://IChiBanComputers.Com

  6. #6
    Super Contributor
    Join Date
    Mar 2006
    Location
    Phoenix, AZ. USA
    Posts
    556

    Re: x.509 certs

    i could create and write to a text file on the memory card, not, i only tried writing to e:/images

    I didnt try to write anywhere else.

    I know, that on some devices, the system may not let you write whatever data format you want

    Example: My device, will not let you create and write data to a file with a jar extension in the c:/nokia/images but will let you write data to a file with a jpg or numerous other extensions

    Also ensure you have permission to write or read from that folder

    Note: above testing was conducted without signing
    As well as that there were two threads, running concurrently, almost, one was enumerating and listing roots and sub folder and items

    Other thread was creating, and writing text file to e:/images
    Jason Glass
    http://IChiBanComputers.Com

  7. #7
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    170

    Re: x.509 certs

    The way I access the mmc is:
    String cdir = System.getProperty("fileconn.dir.memorycard");
    FileConnection getwdir = (FileConnection)Connector.open(cdir+"mydir/",Connector.READ_WRITE);

    This works fine while reading. For creating Files you will need a x.509 code signing cert.

  8. #8
    Super Contributor
    Join Date
    Mar 2006
    Location
    Phoenix, AZ. USA
    Posts
    556

    Re: x.509 certs

    maybe its because your writing to a folder, even though your own, at the root level of the card, I think I had issues if I tried to write anywhere a midlet didnt normally have permissions, possibly anywhere outside of images dir.

    I also had issues, when testing your issue, of listing the items in what system.getproperties xxx returned

    I was thinking, it was because, some of the entries returned, are more like alias's to the real thing?
    Jason Glass
    http://IChiBanComputers.Com

  9. #9
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    170

    Re: x.509 certs

    The funny think is, that if I start the app using the Debugger funktion of the SDK (Start the app from eclipse) it works fine (the problem doesn't appear). If I try to download it from the Computer filesystem it fails, even if the emulator simulates the trusted Domain (emulator = 6230i SDK).

  10. #10
    Super Contributor
    Join Date
    Mar 2006
    Location
    Phoenix, AZ. USA
    Posts
    556

    Re: x.509 certs

    strange, but so you are not attempting this on a device, but on an emulator?
    Jason Glass
    http://IChiBanComputers.Com

  11. #11
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    170

    Re: x.509 certs

    I don' t have a cert thats why I send it to java verified. The testprovider tested it but the test all failed.

  12. #12
    Super Contributor
    Join Date
    Mar 2006
    Location
    Phoenix, AZ. USA
    Posts
    556

    Re: x.509 certs

    you dont or cant use a self signed cert?
    Jason Glass
    http://IChiBanComputers.Com

  13. #13
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    170

    Re: x.509 certs

    if I use a self signing cert, the app shows an error messages which says invalid cert. The cert is not confirmed by a CA.

  14. #14
    Super Contributor
    Join Date
    Mar 2006
    Location
    Phoenix, AZ. USA
    Posts
    556

    Re: x.509 certs

    You probably dont have a "self signed" CA certificate to match, try this link, that is until you get your real certificate

    http://discussion.forum.nokia.com/fo...t.php?p=164044

    or search forums for signing, and you will find a wealth of information
    Jason Glass
    http://IChiBanComputers.Com

  15. #15
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    170

    Re: x.509 certs

    Hi Jason Glass, do you know what this permission modes are about? Are they set while installing the midlet, can I set tem myself? May be this is my problem.

Similar Threads

  1. httplib.HTTPSConnection with X.509 Key & Cert
    By lvngt5gj9 in forum Symbian
    Replies: 7
    Last Post: 2005-07-06, 10:17
  2. MIDP 2.0 certificates & sign
    By rmellado in forum Mobile Java General
    Replies: 5
    Last Post: 2004-05-14, 04:13
  3. Thawte Root Certs
    By etunkelo in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2003-12-28, 22:23
  4. X.509 certification & Series 60
    By honkasuo in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2003-04-01, 12:17

Posting Permissions

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