X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:date:message-id:subject:from:to
	:content-type; q=dns; s=default; b=FCPUhL/WPTUlS/OkVntoT0EkluM8h
	cX1xKoLZigNO2F758OJgsVJb9CAlUlAsuqX/Kpum0POziP1Vb2TMZqSRc+6GiGEP
	K7SVjlcKvpfdt6fajNBQIQpuqbVx8BFvWG5ZPjOoK10fxyLs5m7LwII9vO+inLCQ
	SvD+bAsh5Xn+mk=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:date:message-id:subject:from:to
	:content-type; s=default; bh=iYSE9IZFNAE4vza2hpiZC5UuDW8=; b=kLs
	PBxiet47paIBDpEgI6UzZexzwRuF1OM3kUsuyEwJ5H1+wUk10Xod1EIkftxNqNJi
	Tyt/zjpC47/dRhulvrYeEEAmI9DPU0hbPt11vgvih0vkkKgr3vwuwJaehFkpwQrB
	S1Vi8S9SzalfFn4+UvTEVWKi+xQFu4fhsaScKNDw=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Spam-SWARE-Status: No, score=1.0 required=5.0 tests=AWL,BAYES_40,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS,TW_FX,TW_YG autolearn=ham version=3.3.1
MIME-Version: 1.0
X-Received: by 10.58.76.34 with SMTP id h2mr7480515vew.93.1373045803872; Fri, 05 Jul 2013 10:36:43 -0700 (PDT)
Date: Fri, 5 Jul 2013 13:36:43 -0400
Message-ID: <CAF-Kgmq2Y3KkRAxhW9q+CJD2Qf3eU3WX9-13=Voaggdw34-5Jw@mail.gmail.com>
Subject: lftp error SSL_connect: sslv3 alert unexpected message
From: Rafael Enrique Martinez Delgado <raffymartin@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1

Hello everyone,

I have been trying to use lftp to connect sftp.am.gxsics.com but just
get the error SSL_connect: sslv3 alert unexpected message
when using cygwin built of lftp (which uses OpenSSL). I then found a
build that was done with GNUTLS with 4.3 version of lftp and this can
connect with no issues using the same script and so it seems to be
down to OpenSSL and the specific setup used by GXS which is kind of
old school with implicit ftps on port 6366. Below are the log and lftp
script.

I have tried it on Windows 7 32 bits as well as Windows 8 32 bits.
I ran cygcheck on windows 8 and got a blank file, but was able to run uname -a

CYGWIN_NT-6.2 RM-LAPTOP 1.7.20(0.266/5/3) 2013-06-07 11:11 i686 Cygwin

Thanks in advance.

set cmd:default-protocol ftps
set cmd:verify-host false
set cmd:verify-path false
set ftps:initial-prot P
set ftp:list-empty-ok true
set ftp:ssl-allow true
set ftp:ssl-auth SSL
set ftp:use-allo false
set ftp:use-fxp false
set net:idle 1
set net:max-retries 9999
set net:reconnect-interval-base 2
set net:reconnect-interval-max 4
set net:timeout 120
set ssl:check-hostname true
set ssl:verify-certificate false
open -d ftps://user:password@sftp.am.gxsics.com:6366
lcd /cygdrive/c/lftp
ls
cls
bye

---- Resolving host address...
---- 1 address found: 204.90.130.188
---- Connecting to sftp.am.gxsics.com (204.90.130.188) port 6366
**** SSL_connect: sslv3 alert unexpected message
---- Closing control socket
ls: Fatal error: SSL_connect: sslv3 alert unexpected message
---- Connecting to sftp.am.gxsics.com (204.90.130.188) port 6366
**** SSL_connect: sslv3 alert unexpected message
---- Closing control socket
Fatal error: SSL_connect: sslv3 alert unexpected message

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

