×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Nov 2013
    Posts
    8

    Lightbulb How to disable SSL check?

    Hello Guys,

    I have to connect my application into a server that does not have a valid certificate... For a while, I cannot fix the certificate.. Is there a way to disable this check and proceed with the request??? This app will be deployed into asha mobiles... I am using asha sdk....

    Code:
    java.io.IOException: Alert (2,40)type:22
     - com.sun.midp.ssl.RecordReader.rdRec(), bci=224
     - com.sun.midp.ssl.Handshake.getNextMsg(), bci=10
     - com.sun.midp.ssl.Handshake.rcvSrvrHello(), bci=2
     - com.sun.midp.ssl.Handshake.doHandShake(), bci=25
     - com.sun.midp.ssl.SSLStreamConnection.<init>(), bci=163
     - com.sun.midp.io.j2me.https.Protocol.connect(), bci=245
     - com.sun.midp.io.j2me.http.Protocol.streamConnect(), bci=53
     - com.sun.midp.io.j2me.http.Protocol.startRequest(), bci=7
     - com.sun.midp.io.j2me.http.Protocol.sendRequest(), bci=33
     - com.sun.midp.io.j2me.http.Protocol.sendRequest(), bci=3
     - com.sun.midp.io.j2me.http.Protocol.getResponseCode(), bci=5
     - com.nymgo.microedition.impl.http.HttpRequestImpl.send(HttpRequestImpl.java:138)
    Thank you!

  2. #2
    Registered User
    Join Date
    Mar 2003
    Posts
    4,105

    Re: How to disable SSL check?

    Are you sure the certificate is the problem? Looking at your error code, the problem should be the cipher suite …

  3. #3
    Nokia Developer Champion
    Join Date
    Mar 2013
    Posts
    683

    Re: How to disable SSL check?

    If your server doesn't have a valid ssl certificate then how do you expect to be able to connect to it using https?
    You can try and implement HTTPS on top of TCP or HTTP but if you have the time & efforts to do that I think it would be cheaper for you to buy an ssl certificate.
    Heard of DVLUP? Join here

  4. #4
    Registered User
    Join Date
    Mar 2003
    Posts
    4,105

    Re: How to disable SSL check?

    Quote Originally Posted by hostminas View Post
    Is there a way to disable this check and proceed with the request?
    Not with Java MIDP standard classes. Not in Nokia Asha Software Platform.
    You have to implement SSL/TLS on top of TCP yourself and code-sign your MIDlet, if you use standard ports. As described in my link, Bouncy Castle offers a ready to use TLS 1.0 implementation which works here.

Similar Threads

  1. Check-01 and Check -15:Symbian signed testing criteria
    By sumeet_netsmartz in forum Symbian
    Replies: 1
    Last Post: 2009-09-17, 09:04
  2. Disable GSM
    By valexey in forum Symbian
    Replies: 3
    Last Post: 2008-10-21, 11:06
  3. how to disable red-eye
    By wujun8217 in forum Symbian
    Replies: 1
    Last Post: 2008-09-02, 05:56
  4. disable t9
    By brain_dead00 in forum Symbian
    Replies: 3
    Last Post: 2005-04-08, 10:29

Posting Permissions

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