cURL / Mailing Lists / curl-library / Single Mail


Libcurl: problem when connect to a shared hosting server over ftp+ssl

From: chu ngoc hung <>
Date: Mon, 4 Feb 2013 22:59:24 +0700

Hi friends,

I'm using libcurl version 7.28.0 - with ssl (openssl) - to connect to
server hosting by 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=*.
* start date: 201
* expire date: 202
* subjectAltName does not match
* 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?

Hung Chu.

Chu Ngọc Hưng
Hanoi University Of Technology
E-Mail:, or

List admin:
Received on 2013-02-04