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



Comment Added by : eric

Comment Added at : 2014-01-30 18:09:05

Comment on Tutorial : java.io.IOException: HTTPS hostname wrong: should be By Ramlak
Turning off hostname checking also turns off all security. Yes you are still making an SSL/TLS connection but it could be to evil.com instead of the target server.

Don't do it. If you do it anyhow, just turn off SSL and stop pretending you're secure.


View Tutorial



Ask a Question

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. There is no comparison of performance in the artic
View Tutorial          By: Tomas at 2010-01-17 05:53:48

2. 1
View Tutorial          By: hamza at 2015-06-08 15:09:29

3. Hi all
Can you please tell ,how to recei

View Tutorial          By: Nanthini at 2011-09-07 16:48:04

4. this is really helpful example for Learning RMS in
View Tutorial          By: Ahmed Nawaz Mari at 2011-06-30 05:29:18

5. Hi, I implemented those project in my NetBeans, cr
View Tutorial          By: Leshqo at 2008-11-14 07:09:13

6. import java.util.*;

public class de

View Tutorial          By: Virudada at 2012-05-05 06:27:22

7. This Tutorial website is very usefull in my java p
View Tutorial          By: V.GeorgeFernandas at 2012-11-26 13:20:59

8. plz show me my answers
View Tutorial          By: Debnita Saha at 2010-05-01 05:15:16

9. thanks a lot man....
View Tutorial          By: Praveen at 2012-12-03 08:36:51

10. thanks
View Tutorial          By: Tejaswini C at 2011-12-23 17:57:03