Re: curl certificate error

Mauro Ziliani

Thank you.

I have included the dependencies, but curl miss the CAfile.

I have to fix the right full path by CURL_CA_BUNDLE in the recipe which uses curl-native

I have changed TMP variabile in conf/local.conf

Now TMP:=mytmp  (the default value was tmp)

curl looks for CAFile in


while the file i in


In the recipe I put



Now curl works fine

Thanks again


Il 10/02/21 13:15, Quentin Schulz ha scritto:

Hi Mauro,

On Wed, Feb 10, 2021 at 01:11:07PM +0100, Mauro Ziliani wrote:
Hi all
I try to download the file

with curl -L inside a devshell of a recipe

I get this error

curl: (77) error setting certificate verify locations:
  CAfile: /Sources/softfx/krogoth/softfx-build/tmp/sysroots/x86_64-linux/etc/ssl/certs/ca-certificates.crt
  CApath: none

Missing ca-certificates-native somewhere in the dependency chain. I
honestly thought curl-native would bring it, but does not seem so. I
personally added ca-certificates-native to the DEPENDS of the recipe
needing curl-native for a quick fix since I'm in the middle of an
upgrade and will not use krogoth anymore.


Join to automatically receive all group messages.