curl-users
Re: Antw: Re: libcurl client-certificate based authentication via https
Date: Wed, 27 Jul 2011 10:32:55 -0700
On Wed, Jul 27, 2011 at 05:56:13PM +0100, Jochen Schaefer wrote:
> may be I've been unclear. The --libcurl option gives some hints how to write your own curl-app.
> But that is not the desired way here. We are using a standard libcurl within an initrd from SuSE during
> the boot/install process and do not want to recompile/change SuSE's libcurl.
I was suggesting to use --libcurl to see how to replicate the conditions in
your successful curl call to do the same from an application. When you
say libcurl do you really mean curl? It sounds like you're referring to
the curl application by the name of the library, which is confusing if true.
Are you writing your own application or using the 'curl' one?
> The question was if libcurl is searching at any default place for a client-certificate or does it read
> any environment which tells libcurl to use a certain client-certificate?
It's all documented in the man page. curl doesn't use many environment
variables, and I don't recall any used for client certificates. There
are a few used to set CA certificate locations. If you're running curl
from initrd, then the biggest thing you're probably missing is the CA
certificate bundle (normally found in /etc/ssl/certs/ or a similar
location) which is needed to validate the remote server certificate.
>>> Dan
-------------------------------------------------------------------
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-07-27