cURL / Mailing Lists / curl-library / Single Mail

curl-library

URL vs IP Address

From: Praveen Pvs <meetpraveenpvs_at_gmail.com>
Date: Wed, 30 Sep 2015 14:45:00 +0530

Hi,

We observe that when URL is replaced with the ipaddress, we are not able to
connect to the server and curl_easy_perform function returns 35 as the
result code.

*URL*

*Result*

https:// <https://cert1.ipcharge.net/ichapi/rh.aspx>
testxssl.protectedtransactions.com/AUTH

Success

https:// <https://65.254.212.91/ichapi/rh.aspx>204.90.9.243/AUTH

Failure

For example - 204.90.9.243 is the IP Address for
testxssl.protectedtransactions.com

When we try with https://204.90.9.243/AUTH, we are getting following error:

09/30/2015 14:29:31:136 0621 1115694192 VHI: sendRecvViaCurl: *CURLE ERROR
[35]*
09/30/2015 14:29:31:137 0621 1115694192 VHI: sendRecvViaCurl: ERROR!
SSL/TLS Handshake FAILED
09/30/2015 14:29:31:137 0621 1115694192 VHI: sendRecvViaCurl: ERROR! Lib
Curl Error [*error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert
handshake failure]*

Could you please let me know actual reason to get this error.

Is anything on the client side we can do to avoid this error?

Thank you for you help and time.

Regards
Praveen

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-09-30