title: J2ME Https connection not working
body: <p>I am new to J2ME midlet. i created the midlet application for nokia. application works fine with http. but after changing the url from http to https it's not working. other https sites (like google) are working fine. but our server link is not working.i got the following  exception <strong>java.io.IOException Native Error-5</strong> . This is my sample code.</p>
  
  <pre><code>String url = "https://domain";
  HttpsConnection hc = (HttpsConnection)Connector.open(url);
  SecurityInfo si = hc.getSecurityInfo();
  Certificate c = si.getServerCertificate();
  String subject = c.getSubject();
  </code></pre>