File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java Micro Edition and the fly likes HTTPS on J2ME Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Reply Bookmark "HTTPS on J2ME" Watch "HTTPS on J2ME" New topic
Author

HTTPS on J2ME

Yit Ming Toh
Greenhorn

Joined: Jan 27, 2010
Posts: 5
Hi,

i am rather new to HTTPS connection on J2ME.

is there anything that i need to be aware of if i wanna code a class to access a HTTPS site?

is there anything that i should know about certificates? do i need to configure something in order to access the HTTPS page?


as now i have written a class to perform the connection. But i have received this error


i am quite sure that the website is still valid as i am still able to access the site and perform transactions that i want.

any help??
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 12513

Just because you can access the site doesn't mean it doesn't have a bad certificate. Browsers usually just ask if they can go ahead anyway, and they'll often mark the exception as permanent, so they'll never ask again and you'll forget it happened.

Your browser should have an option to examine the certificates of sites you've visited. Check the certificate there.


One of the most odious afflictions that Business has inflicted on the modern English language is "pro-active". Most of the time it's simply redundantly used in place of the simple old word "active". And a good deal of the rest of the time it means "You're not overworked enough yet, so go out and find more!"
 
IntelliJ Java IDE
 
subject: HTTPS on J2ME
 
Threads others viewed
HTTPS COnnection from Motorola i730
Expired certificate bypassing
Login to a ssl enabled site using encrypted password
Receiving: java.CertificateException: Certificate not Trusted
J2ME implementing TLS
developer file tools