Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User amipatel's Avatar
    Join Date
    Jun 2008
    Posts
    87
    Hi

    i want to read and write the data to the another application running on tomcat server using HTTPS from midlet.

    i have configure the tomcat server for https.
    when i try to connect from my midlet i got the following exception.


    javax.microedition.pki.CertificateException: Certificate was issued by an unrecognized entity
    at com.sun.midp.ssl.X509Certificate.verifyChain(+64)
    at com.sun.midp.ssl.Handshake.parseChain(+111)
    at com.sun.midp.ssl.Handshake.rcvCert(+114)
    at com.sun.midp.ssl.Handshake.doHandShake(+96)
    at com.sun.midp.ssl.SSLStreamConnection.<init>(+173)
    at com.sun.midp.ssl.SSLStreamConnection.<init>(+12)
    at com.sun.midp.io.j2me.https.Protocol.connect(+214)
    at com.sun.midp.io.j2me.http.Protocol.streamConnect(+57)
    at com.sun.midp.io.j2me.http.Protocol.startRequest(+12)
    at com.sun.midp.io.j2me.http.Protocol.sendRequest(+38)
    at com.sun.midp.io.j2me.http.Protocol.flush(+36)
    at com.sun.midp.io.BaseOutputStream.flush(ConnectionBaseAdapter.java:724)


    my midlet is also signed midlet.
    Last edited by amipatel; 2008-07-30 at 15:04.

  2. #2

  3. #3
    Registered User amipatel's Avatar
    Join Date
    Jun 2008
    Posts
    87
    Quote Originally Posted by r2j7 View Post
    Hello amipatel,

    check this thread for possible solution:

    http://www.j2meforums.com/forum/inde...e;topic=8492.0

    Related: http://developers.sun.com/mobility/midp/articles/https/

    Regards,
    r2j7
    Thanks r2j7
    its working now

Similar Threads

  1. E65 midlet network connection permissions
    By oberho_33 in forum Mobile Java Networking & Messaging & Security
    Replies: 7
    Last Post: 2008-06-09, 08:46
  2. 技术文档:MIDP 2.0安全机制 与 MIDlet 数字签名
    By wotrust in forum [Archived] Other Programming Discussion 关于其他编程技术的讨论
    Replies: 0
    Last Post: 2006-12-30, 07:42
  3. connect function is giving problem
    By vinayakak in forum Symbian Networking & Messaging (Closed)
    Replies: 3
    Last Post: 2005-03-03, 09:29
  4. Replies: 0
    Last Post: 2003-07-24, 22:47
  5. launching MIDlet from another MIDlet on 6310i problem
    By niko86 in forum Mobile Java General
    Replies: 1
    Last Post: 2002-08-07, 09:38

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved