Hi Uwe, I'm nearly giving up with my attempt to use client certifcate based auth. I didn't find a solution how to tell libcurl to use a certain certificate and the appropriate capath until now. However I got aria2c working within inst environment by using dud's for aria2 and libsqlite3 (needed by aria2). I'm wondering why yast is using aria2c for retriewing of packages from install source but not for autoyast relevant meta data like profile and rules. I see all package access via aria2c in apache ssl.log (client-cert auth disabled in this case). But /xml/default is retrieved via curl. This logsnippet from y2log shows that aria2c is executed as external program: ExternalProgram.cc(start_program):221 Executing 'aria2c' '--user-agent=ZYpp 6.31.4 (aria2 version 1.11.2) ' '--summary-interval=1' '--follow-metalink=mem' '-- check-integrity=true' '--file-allocation=none' '--server-stat-of=/var/cache/zypp/aria2.stats' '--server-stat-if=/var/cache/zypp/aria2.stats' '--uri-selector=adaptive' '--use-head=false' '--max-tries=5' '--ma x-concurrent-downloads=2' '--header=X-ZYpp-AnonymousId:' '--header=X-ZYpp-DistributionFlavor:' '--header=Pragma:' '--connect-timeout=180' '--dir=/var/adm/mount/AP_0x00000001/media.1' 'http://10.0.4.221/sles1 1sp1_x86_64/CD1/media.1/products' which means it reads /root/.aria2/aria2.conf where I put the certificate options in. Executing same command like above with cert options in aria2.conf retrieved the products file like desired. So the questions are: If aria2c is available why is it not used for the whole autoyast remote network connections Would it be senseful to have an enhancement request for that or are there some drawbacks which I'm not aware of Thanks, Jochen
Uwe Gansert
schrieb am 7/26/2011 um 10.48 Uhr in Nachricht <201107261048.26017.ug@suse.de>: on Tuesday 26 July 2011 Jochen Schaefer wrote: which leads to the assumption that yast is not considering options from /root/.curlrc?
it's not really yast We are using libcurl and libcurl is not reading the file The lines you see are just a hack to read some parameters like proxy fro the
curlrc by zypp (at least that's my assumption because libcurl ignores the curlrc but proxy settings were needed)
Does anybody know how to configure yast/curl to accept parameters from .curlrc?
I don't know a way but if you find one, I'd be interested. The curlrc file is only for the commandline tool and is actually independent
from the library
-- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org