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



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. Hi, please do you know how can i use a cel connect
View Tutorial          By: nobody at 2010-04-06 20:25:54

2. Very concise, but it would be more helpful without
View Tutorial          By: Randy at 2010-11-17 14:16:01

3. i want every important questions in .net 3.5 and j
View Tutorial          By: pawan at 2011-07-28 06:17:25

4. Thanks for your nice article.I learned a lot
View Tutorial          By: Mahyar at 2012-08-12 12:09:36

5. thanks happy to see such a site about java!
View Tutorial          By: nnnmore at 2007-03-16 06:29:20

6. super j2me introduction
View Tutorial          By: govinth at 2012-02-05 09:33:18

7. hi this is from iniyan....
can you send t

View Tutorial          By: iniyan at 2007-09-09 06:50:18

8. best site ever.
View Tutorial          By: rehan ahmed at 2008-12-10 02:21:32

9. we need to know how to write this coding..

View Tutorial          By: lalala at 2009-07-15 20:35:16

10. Also note that for reverse ordering, If you have a
View Tutorial          By: Dwight at 2011-07-13 22:13:45