×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jun 2008
    Posts
    87

    HTTPS problem when connect to network from midlet

    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
    Nokia Developer Expert
    Join Date
    Aug 2007
    Posts
    1,595

    Re: HTTS problem when connect to network from midlet

    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
    [URL="http://library.forum.nokia.com/java"][B] >>> Java Developer's Library <<<[/B][/URL]
    [URL="https://www.developer.nokia.com/Resources/Support/Technical_support.xhtml"] [B]>>> Technical Support for Java ME development <<<[/B][/URL]
    [URL="https://publish.ovi.com/info/"][B]>>> Nokia Publish: reach millions of Nokia users worldwide through Nokia Store <<<[/B][/URL]

  3. #3
    Registered User
    Join Date
    Jun 2008
    Posts
    87

    Re: HTTS problem when connect to network from midlet

    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
  •  
×