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. Those who want the details of JAVA should search f
View Tutorial          By: Amit Singh at 2011-11-13 11:42:42

2. Hi Robert,

The precision statement

View Tutorial          By: George at 2015-01-31 06:25:18

3. Why use recursion in Java, even for Strings? The s
View Tutorial          By: Kristoffer L at 2012-11-21 01:51:36

4. i connect my program to my sql and create table. a
View Tutorial          By: Santosh Agrawal at 2013-04-08 13:00:56

5. excellent...... thank you so much.
View Tutorial          By: balaji at 2011-07-19 07:56:08

6. Thanks man it is very very helpfull for me.

View Tutorial          By: qasim azam at 2011-06-15 18:09:35

7. Hello sir pls send me
com.sun.speech.freet

View Tutorial          By: nikunj at 2011-08-19 06:55:37

8. Looks good, but don't use gets(). gets() is respon
View Tutorial          By: Luke at 2011-11-21 09:03:38

9. Explanation was good and easily comprehendable.
View Tutorial          By: Moin Adil at 2009-06-17 04:18:56

10. the example program is very simple to understand a
View Tutorial          By: Zubilu at 2010-10-06 00:19:13