cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Help with SSL certificates for FTP please...

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 29 Dec 2006 12:08:12 +0100 (CET)

On Thu, 28 Dec 2006, Randall Williams wrote:

> Our issue seems to be related to the certificate, as if we send using FTP
> without SSL, the transmission goes fine.

You could also try with -k to skip the ca cert stuff, just to see if it works
without it.

> We were provided a certificate in .cer format. We used OPENSSL to convert
> the certificate to .PEM. As you can see above, we are using the --cacert
> command to point to the .pem certificate we created.

And the cert you got truly is a CA cert?

> The error we are receiving is curl (35) error:0D0680A8:asn1 encoding
> routines:ASN1_CHECK_TLEN:wrong tag.

To me, it sounds like OpenSSL doesn't like the certificate file.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-12-29