Comment on Tutorial - java.io.IOException: HTTPS hostname wrong: should be By Ramlak



Comment Added by : Michael Gower

Comment Added at : 2012-01-04 17:40:00

Comment on Tutorial : java.io.IOException: HTTPS hostname wrong: should be By Ramlak
I tried this with HttpUnit (using the custom HostnameVerifier and trustAllSecurityCertificates) and still got the same error. I've tried several articals similar to this one, but "register with the JRE" seems to skip whatever calls HttpUnit is using.
Thank you though!
(When I get this working I'll post my findings both here and at my blog (see URL link), Hacker's Valhalla.


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, it solved my problem with "sun.securi
View Tutorial          By: haasdg at 2013-10-29 14:12:51

2. great explaination !!!
View Tutorial          By: aman at 2012-10-02 06:55:55

3. me too got the same problem....
but m sure

View Tutorial          By: HEHE at 2008-11-19 01:49:04

4. well example, but i have to send the received list
View Tutorial          By: amit kumar at 2011-02-21 00:43:15

5. This is very simple and easy to understand.

View Tutorial          By: satish at 2011-12-25 09:03:16

6. MSComm1.Settings="9600,n,8,1"

View Tutorial          By: ali at 2012-02-25 21:52:21

7. Hi Rahul,
I am struggling to send

View Tutorial          By: sravani at 2011-02-11 22:56:58

8. A good and useful tutorial for beginners.
t

View Tutorial          By: Hayk at 2010-01-12 10:55:15

9. Nice example.
I got it finally
Thank

View Tutorial          By: Bo at 2015-05-05 06:28:43

10. Hello,
Thank you very much for this sample

View Tutorial          By: Alex at 2010-08-12 07:30:32