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. Just used InstallCert.java successfully so that my
View Tutorial          By: Anthony Pelosi at 2009-12-30 15:52:17

2. Hello, this is working fine with jpg file. But I w
View Tutorial          By: Ray at 2015-09-01 04:18:00

3. plz send me 1 ex that will explain how to use conn
View Tutorial          By: abhijit marne at 2011-12-09 06:32:07

4. Hello,

I got an error like (Wed Ma

View Tutorial          By: narayanan at 2010-03-17 05:56:21

5. Thank you, Every thing is working fine...!!

View Tutorial          By: Purushothaman at 2009-04-10 07:18:38

6. Amazing new function atoi() , it shows c,c++ are p
View Tutorial          By: Hari at 2009-05-05 22:20:17

7. Can anybody send full code for sending and receivi
View Tutorial          By: Jayapal at 2010-08-12 11:41:38

8. how do i use the jsapi classes and the freets pack
View Tutorial          By: Chileshe at 2012-08-22 14:23:38

9. Very good article on string , please also mentions
View Tutorial          By: Subham at 2014-04-29 18:01:04

10. i need scjp questions and information
View Tutorial          By: raja at 2010-03-29 08:05:35