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!
Any body have code for recieving sms fr

View Tutorial          By: Haseeb at 2009-07-01 04:59:13

2. I got error during using above code if There is ne
View Tutorial          By: Sunil at 2009-12-28 05:22:45

3. thanku this is very good example
View Tutorial          By: priyanka at 2012-10-02 13:08:49

4. what if the delimiter is "(quotation mark)?
View Tutorial          By: hiakoto at 2013-02-18 16:15:20

5. Just used InstallCert.java successfully so that my
View Tutorial          By: Anthony Pelosi at 2009-12-30 15:52:17

6. vry nice example....thanx..
View Tutorial          By: rekha at 2010-09-14 11:55:38

7. very simple :)
View Tutorial          By: cha at 2012-01-09 07:38:49

8. meow is simple and awesome
View Tutorial          By: vishnu prasanth at 2013-01-10 10:00:35

9. Good Explanation of code. But object declaration i
View Tutorial          By: Nitesh at 2011-12-28 12:37:09

10. I have been hunting around for clarification whet
View Tutorial          By: MKP at 2013-02-06 09:08:27