how to use ssl connection in ipphone?

Version 1

    Subject: RE: how to use ssl connection in ipphone?
    Replied by: David Staudt on 16-09-2009 02:54:28 AM
    There are currently no available programmable APIs/interfaces on Cisco IP Phones that support SSL.  Can you elaborate on what you're asking?
    This document was generated from CDN thread

    Created by: yiming zhang on 16-09-2009 01:57:37 AM
    HI,Everybody.
    as the title, this is a problem when i use a ssl connection. the error is on the Certification.
    now , i want to know ,how to setup a Certification to the ipphone. not like other mobile phone, ipphone have no ui to manager the certification.
    thanks.

    Subject: RE: how to use ssl connection in ipphone?
    Replied by: yiming zhang on 16-09-2009 03:36:49 AM
    thanks David.
     yes, my probelm is like this:
         i use code:
           String sslUrl=ssl+"://" + server + ":" + port;
           _sc = (StreamConnection)Connector.open(sslUrl, Connector.READ_WRITE);
      
    when run this on ipphone  will throws an error:
         
    Exception in thread "Thread-6" Exception in thread "Thread-6" java.lang.Abstract
    MethodError: cip.io.a.checkServerTrusted([Ljava/security/cert/X509Certificate;Ljava/lang/String;)Vjava.lang.AbstractMethod
    Error: cip.io.a.checkServerTrusted([Ljava/security/cert/X509Certificate;Ljava/lang/String;)
    Vjava.lang.AbstractMethodError: cip.io.a.checkServerTrusted([Ljava/security/cert/X509Certificate;Ljava/lang/String;)
    Vat com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(Unknown Source)     
            at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(Unknown Source)
     
     
    what i should to do?

    Subject: RE: how to use ssl connection in ipphone?
    Replied by: yiming zhang on 17-09-2009 01:59:25 AM
    this code is the problem, can anybody help me? thanks.

    Subject: RE: how to use ssl connection in ipphone?
    Replied by: David Staudt on 17-09-2009 03:35:51 AM
    Which phone API/interface/protocol are you trying to connect to here?

    Subject: RE: how to use ssl connection in ipphone?
    Replied by: yiming zhang on 17-09-2009 04:57:58 AM
    thanks David.
    this connection code is in my midlet code.
    now  we use ipphone 7975 to connect  "ssl:google.talk"
    the protocol  is ssl.
     
     

    Subject: RE: how to use ssl connection in ipphone?
    Replied by: yiming zhang on 17-09-2009 11:38:00 AM
    who know  what's the error of the problem?
    Is the ipphone can't use the ssl protocol ?
     

    Subject: RE: how to use ssl connection in ipphone?
    Replied by: Ruwei Liu on 17-09-2009 01:22:53 PM
    Hi David,
     
        Sorry to got you confused here: we should have put this question to the MIDLet mailing list.
     
        I'll forward the question there later after the explanation as below:
     
        We are using PhoneSDK8-4-2-38 run Midlet application on simulated 7975, the application tries to open a ssl connection to googletalk.
     
        I think the problem should be caused by the fact that IP phone doesnot recognize the server's certification. Just that we don't know how to install the certification so that the phone can trust the server it tries to connect to.
     
        Appreciate your kindly help.
     
    Best Regards,
    Ruwei
     
     
    Which phone API/interface/protocol are you trying to connect to here?