curl-library
Re: Unknown SSL protocol error
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 15 Aug 2006 18:57:56 +0200 (CEST)
Date: Tue, 15 Aug 2006 18:57:56 +0200 (CEST)
On Tue, 15 Aug 2006, Winslow, Dave - OJA wrote:
> 08 < 220 SSL X2 WS_FTP Server 5.0.4 (1799941883)
> 09 > AUTH SSL
> 10 < 234 SSL enabled and waiting for negotiation
...
> 54 * Doing the SSL/TLS handshake on the data stream
> 59 * Unknown SSL protocol error in connection to doaftp01.doa.state.wi.us:21
Well clearly the server doesn't negotiate a proper SSL connection. Perhaps
this is because curl sends AUTH SSL (and not AUTH TLS which it only sends if
AUTH SSL fails). You could test my theory by setting CURLOPT_FTPSSLAUTH to
CURLFTPAUTH_TLS.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2006-08-15