aspose file tools*
The moose likes Java Micro Edition and the fly likes secure http calls to server from J2ME device Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "secure http calls to server from J2ME device" Watch "secure http calls to server from J2ME device" New topic
Author

secure http calls to server from J2ME device

liang gu
Ranch Hand

Joined: Nov 05, 2001
Posts: 89
I know that the current MIDP doesn't support HTTPS. However, I have read some posts on this site that Sun Labs are putting out a kSSL implementation and some people have written apps using https. Can somebody help me on kSSL and https from J2ME device.
Thanks a lot!
Liang

Eric Giguere
Ranch Hand

Joined: Oct 25, 2000
Posts: 170
HTTPS support has to be integrated into the device to use it. Note that the Motorola iDEN phones support HTTPS as an extension to the basic HTTP support required by MIDP. Also, the latest J2ME Wireless Toolkit (1.0.3) supports HTTPS. If the device you're using doesn't have HTTPS support built-in, however, you can't really load it in yourself.

------------------
Eric Giguere
author/co-author of:
Mobile Information Device Profile for Java 2 Micro Edition: Professional Developer's Guide
Java 2 Micro Edition: Professional Developer's Guide
PalmTM Database Programming: The Complete Developer's Guide


Eric Giguere
Author/Co-Author of: Mobile Information Device Profile for Java 2 Micro Edition: Professional Developer's Guide, Java 2 Micro Edition: Professional Developer's Guide and PalmTM Database Programming: The Complete Developer's Guide
liang gu
Ranch Hand

Joined: Nov 05, 2001
Posts: 89
Eric, Thanks for your reply. I have 1 more question, how can I load the public/private key signature file onto the device? Is there any examples that are using the https?
Eric Giguere
Ranch Hand

Joined: Oct 25, 2000
Posts: 170
It would depend entirely on the device. I suspect most of these devices support server authentication only. On the Motorola i85s there is no way to load client certificates.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: secure http calls to server from J2ME device
 
Similar Threads
KSSL
Where could I get the kssl and ksecurity package for MIDP 2.0?
KSSL API Documentation
KSSL - Ksecurity
Using J2me/Kssl/Ksecurity on Palm O/S