cURL / Mailing Lists / curl-users / Single Mail

curl-users

FTPS upload to SecureTransport (SITE AUTH ok, but client certificates not working?)

From: Seamus Abshere <seamus_at_abshere.net>
Date: Tue, 01 Nov 2011 22:12:32 -0500

hi all,

curl doesn't seem to be sending my client certificates:

> |myuser@myserver ~ $ curl -v --ftp-ssl --cert mycert.crt --key mykey.pem --ftp-alternative-to-user "SITE AUTH" -T helloworld.txt ftp://ftp.example.com:9876/upload/
> * About to connect() to ftp.example.com port 9876 (#0)
> * Trying 1.2.3.4... connected
> * Connected to ftp.example.com (1.2.3.4) port 9876 (#0)
> < 220 msn1 FTP server (SecureTransport 4.5.1) ready.
> > AUTH SSL
> < 334 SSLv23/TLSv1
> * found 142 certificates in /etc/ssl/certs/ca-certificates.crt
> > USER anonymous
> < 331 Password required for anonymous.
> > PASS ftp_at_example.com
> < 530 Login incorrect.
> > SITE AUTH
> < 530 No client certificate presented.
> * Access denied: 530
> * Closing connection #0
>
> curl: (67) Access denied: 530|

I put a more complete version of my question on ServerFault
<http://serverfault.com/questions/326899/how-to-use-curl-to-ftps-upload-to-securetransport-hint-site-auth-and-client-ce>.

Thanks,
Seamus

-- 
Seamus Abshere
123 N Blount St Apt 403
Madison, WI 53703
1 (201) 566-0130

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-11-02