Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > HTTPS connection in WTK2.2 (J2ME): "Certificate was issued by anunrecognized entity" IOException

Thread Tools

HTTPS connection in WTK2.2 (J2ME): "Certificate was issued by anunrecognized entity" IOException

Alex Hunsley
Posts: n/a
I'm developing with Sun's Wireless Toolkit 2.2.
I have some working code that makes an HTTP connection.
I'm trying to change it to make an HTTPS connection.

No complete code I can post at this stage, but the code of relevance is
as follows:

String baseURL = "";

HttpsConnection hc = (HttpsConnection);

InputStream in = hc.openInputStream();

This throws an IOException on the last line with the detail message:

"Certificate was issued by an unrecognized entity"

AFACS, has a cert that is registered with
recognized authorities (Verisign according to Firefox), so this error
would appear to be inaccurate. Can anyone shed any light on this situation?
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Troubleshoot IOException on IAsyncResult and HTTPS Martijn van Schie ASP .Net Web Services 4 03-10-2008 07:59 PM
System.IO.IOException: Unable to read data from the transport connection Mentalis ASP .Net 0 07-12-2006 03:43 PM
Syslog all issued commands mlick2 Cisco 0 10-13-2005 03:50 PM
No IP connectivity between Ad-Hoc network with excellent signal and issued DHCP address Dmitry Andreev Wireless Networking 1 03-26-2005 04:03 PM
"Command issued before the session is authenticated" ftp problem didier Cisco 0 01-26-2004 09:20 PM