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. Thanks , really appreciate
View Tutorial          By: Marlen at 2010-11-23 10:50:29

2. pl send me how to download java 2 micro edition do
View Tutorial          By: Narayana at 2013-02-21 10:08:27

3. Hi Kartikeyan and all,

can you plea

View Tutorial          By: Piyush at 2008-11-14 07:24:16

4. You have simply saved my life. After 2 days dealin
View Tutorial          By: M├írio Buratto at 2013-01-11 19:54:36

5. This is an old method although it works. The bette
View Tutorial          By: Emiley at 2013-01-11 03:56:02

6. Thanks
Your solution helped me a lot :)

View Tutorial          By: sendhil at 2010-05-28 01:12:41

7. i have to write a calculator program for very ve
View Tutorial          By: maryam at 2012-12-31 10:21:55

8. good
View Tutorial          By: gummalla subbarao at 2011-03-09 01:24:58

9. 1. U R NOT CONNECTED UR MOBILE WITH SYS
2.

View Tutorial          By: jAYGANESH at 2011-06-22 02:14:43

10. Very good explanation specially overlapped memory
View Tutorial          By: MANISH RASTOGI at 2010-06-22 05:44:07