cURL / Mailing Lists / curl-library / Single Mail


Re: Implicit SSL connections doesn't works

From: Abel Alonso <>
Date: Thu, 30 Aug 2007 13:32:45 +0200

I detect the problem and it was that the curl library doesn't send the PROT
P command. I've change the curl source code to force to send the command and
it works, but i suppose that is not a well solution, so I'm going to answer
all your questions:

What libcurl version on what platform with what SSL library and version?

Libcurl 7.16.5
OpenSSL 0.9.8e

What does VERBOSE (or even better the DEBUGFUNCTION) display? How come not
using 990 in the URL doesn't work when it defaults to 990 for ftps:// urls?

About to connect() to localhost port 990 (#0)



Connected to localhost ( port 990 (#0)

SSLv2, Client hello (1):

 SSLv3, TLS handshake, Server hello (2):

 SSLv3, TLS handshake, CERT (11):

SSLv3, TLS handshake, Server finished (14):

SSLv3, TLS handshake, Client key exchange (16):

SSLv3, TLS change cipher, Client hello (1):

SSLv3, TLS handshake, Finished (20):

Unknown SSL protocol error in connection to localhost:990

Closing connection #0

Neither? You mean you try explicit on that same port as well? Implicit and
explicit can't work on the same port number.

No. I mean that without put the :990 into the url it doesn't work. All
explicit connections work well on 21 port.

I hope that this information will be useful for you.

Best regards,

Received on 2007-08-30