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. I want to get SCJP certification. please anyone c
View Tutorial          By: Raju Salla at 2012-05-04 08:38:06

2. thanks really usefull
View Tutorial          By: MATHEW at 2012-06-29 00:55:57

3. i get error like this :
The requested resou

View Tutorial          By: Vera Yunita at 2013-05-20 03:57:18

4. thanks for giving the example of abstract class...
View Tutorial          By: mahesh at 2010-04-11 08:20:45

5. Thanks for the example taken directly from the Jav
View Tutorial          By: Lewis Chase at 2013-09-24 23:39:21

6. Thank you , concept of static is clearly explained
View Tutorial          By: Jagan at 2012-12-10 10:42:42

7. examples are very use full
View Tutorial          By: keerthe at 2010-08-12 23:00:21

8. but it will be very simple if we use pointer in it
View Tutorial          By: Hot Water Systems at 2009-06-01 03:51:48

9. very nice tutorial.
Thanks..

View Tutorial          By: Ramar at 2011-06-16 08:16:14

10. Thank You very much :)
View Tutorial          By: RaghuCK at 2010-09-09 13:53:26