cURL / Mailing Lists / curl-library / Single Mail

curl-library

libcurl: Problem when connect to a shared hosting server over ftp+ssl

From: chu ngoc hung <hungcn_at_gmail.com>
Date: Mon, 4 Feb 2013 17:48:24 +0700

Hi guys,

I'm using libcurl version 7.28.0 - with ssl (openssl) - to connect to
server dysoft-mobile.com hosting by bluehost.com with ftp+ssl connection. I
downloaded certificate from this server and add to my ca path before
connect to server. But I always get an error:
* Server certificate:
* subject: OU=Domain Control Validated; OU=PositiveSSL Wildcard; CN=*.
bluehost.com
* start date: 201
* expire date: 202
* subjectAltName does not match dysoft-mobile.com
* Closing connection #0
* SSL peer certificate or SSH remote key was not OK

When I turn off verifying host/peer the connection is always timeout.

Can you give me advice to fix this?

Thanks,
Hung Chu.

-- 
Chu Ngọc Hưng
Hanoi University Of Technology
Tel:+84904010806
E-Mail: hungcn_at_gmail.com, or ngochunghutit_at_yahoo.com

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-02-04