Comment on Tutorial - java.io.IOException: HTTPS hostname wrong: should be By Ramlak



Comment Added by : Mark

Comment Added at : 2013-01-08 07:00:47

Comment on Tutorial : java.io.IOException: HTTPS hostname wrong: should be By Ramlak
Thanks for a great post. Solved a problem for me in communicating over SSL with a known server IP. One note: on Android I had to make my custom TrustManager implement X509TrustManager, or I got a "can't find an X509 trust manager" exception when initializing the SSLContext. There might have been some other way around that, but anyway it worked. Thanks again for the post.

View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. super......... thanks 4 ur great example...
View Tutorial          By: jithinraj at 2013-03-13 08:34:07

2. gud example, we welcome you
View Tutorial          By: jasim Khalid almurakh meherbani at 2010-09-20 03:14:25

3. #include<iostream>
#include<conio.

View Tutorial          By: XavioR at 2011-01-31 00:53:11

4. Hi Jon,

It really depends on the ap

View Tutorial          By: Hong at 2009-05-04 20:40:28

5. Great example - easy to understand!
View Tutorial          By: George at 2009-12-30 03:48:37

6. Did you happen to import any certificates to execu
View Tutorial          By: Shashank at 2013-03-15 12:17:50

7. Hi there,
this doesnt work in IE7 or firefo

View Tutorial          By: Gerrard at 2009-10-17 15:19:24

8. Very good explanation along with the example. Can
View Tutorial          By: Divya at 2010-09-21 03:05:10

9. I have followed all steps but it is giving null po
View Tutorial          By: she at 2013-01-14 06:02:27

10. i think i can use it in my project in IT.
<

View Tutorial          By: jamesmae amado at 2013-11-17 13:42:58