-
Exception: HTTPS hostname wrong, while sending data on ssl using http tunneling
HI,
I am sending data using http tunneling on https protocol. I am sure i have got certificates installed properly. While running my program with -Djavax.net.debug=all option i get long list of ouput telling me handshake has properly occured but eventually the application dies leaving the following stacktrace:
java.io.IOException: HTTPS hostname wrong: should be <id address>
at sun.net.http://www.protocol.https.HttpsClien...lient.java:490)
at sun.net.http://www.protocol.https.HttpsClien...lient.java:415)
at sun.net.http://www.protocol.https.AbstractDe...ction.java:170)
at sun.net.http://www.protocol.http.HttpURLConn...ction.java:839)
at sun.net.http://www.protocol.https.HttpsURLCo...nImpl.java:230)
at XMLUploadClass.UploadStream(XMLUploadClass.java:605)
at XMLUploadClass.writeXML(XMLUploadClass.java:546)
at XMLUploadClass.main(XMLUploadClass.java:354)
guys any clues plz.. its been the whole day, banging my head, but to no avail. I haven't left a place in google.
i am sending stream in xml format. Yes i have set header to text/xml
yes i hv set setDoOutput to true
yes i hv setRequestMethod("POST")
Thanks and regards
Aashu
Last edited by AashuKapil; 11-27-2006 at 08:26 AM.
Reason: editing of title
Similar Threads
-
Replies: 7
Last Post: 10-08-2006, 08:59 AM
-
Replies: 2
Last Post: 04-03-2006, 07:20 AM
-
Replies: 7
Last Post: 01-13-2001, 03:15 PM
-
Replies: 1
Last Post: 10-26-2000, 02:43 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|