cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl and ssl

From: Michael Pace <mpace79_at_yahoo.com>
Date: Thu, 20 Jan 2005 12:40:46 -0800 (PST)

Thanks for the help. I think that got me a little
further, but now I have a password issue on the cert.
Again, this is the cert issued to me by the remote
site that I am trying to ftp to. Thanks in advance for
any assistance!

[root_at_www]# curl -v --ftp-ssl --cert
/home/certs/Cert.pfx:[password] -u username:password
ftp://ftpsitename
* About to connect() to ftpsitename port 21
* Trying 1.2.3.4... * connected
* Connected to ftpsitename (1.2.3.4) port 21
< 220 IE-FTP server (v4r3m0.f) ready on system
> AUTH SSL
< 234 AUTH command accepted - proceed with
Negotiation.
* unable to set certificate file (wrong password?)
* Closing connection #0
curl: (58) unable to set certificate file (wrong
password?)

--- Daniel Stenberg <daniel-curl_at_haxx.se> wrote:

> On Wed, 19 Jan 2005, Michael Pace wrote:
>
> > [root_at_www certs]# curl -v -k --ftp-ssl --cacert
>
> Note that -k and --cacert are opposites. We should
> probably make the tool
> refuse to continue if both these are used...
>
> I *think* you meant to use the --cert option and not
> --cacert.
>
> >> USER username
> > < 530 User is not the same as specified in the
> X.509
> > Certificate.
>
> The "X.509 Certificate" it speaks of is probably
> your client certificate that
> you must tell curl to use. With the --cert option.
>
> --
> Daniel Stenberg -- http://curl.haxx.se --
> http://daniel.haxx.se
> Dedicated custom curl help for hire:
> http://haxx.se/curl.html
>

                
__________________________________
Do you Yahoo!?
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250
Received on 2005-01-20