Win a copy of Java by Comparison (eBook) this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

HTTPS on J2ME  RSS feed

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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??
 
Bartender
Posts: 19178
85
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Die Fledermaus does not fear such a tiny ad:
Thread Boost - a very different sort of advertising
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!