Groups > Symbian > Symbian EPOC Java > SSL and MIDP 2.0




SSL and MIDP 2.0

SSL and MIDP 2.0
Thu, 29 Sep 2005 13:23:53 -070
Hi,
   I have written a J2ME (MIDP2.0) application that tries to connect to a 
server on Port 3332 using SSL. Its a plain SSL connection using 
SecureConnection class

   On the server side , we are using GeoTrust's certificates.

   i am testing this app on Nokia 6630.

   I am not able to connect. I always get CertificateException. I use the 
follwoing function:
   SecureConnection sc = (SecureConnection)Connector.open(url);
   (where url confirms to the format " ssl://IpAddress:Port")

   I checked in Tools->Settings->Security->Certif Management

   It shows many certificates. I selected the GeoTrust cerificate and
   in its Trust Settings made
   Symbian Installtion= Yes
   Internet = Yes
   App. Installation = Yes

   We are using the following certificate on the server side
   http://www.geotrust.com/web_security/power_server_id.htm

   Are we missing something. Do i need to install some kind of certificate 
on the phone. If yes how it is done



 Kind Regards
Gaurav Palvia 

Post Reply
about | contact