All of lore.kernel.org
 help / color / mirror / Atom feed
* curl-native and ca-bundle
@ 2016-10-24  7:20 Blaettler, Michael
  2016-10-24 13:14 ` Patrick Ohly
  0 siblings, 1 reply; 6+ messages in thread
From: Blaettler, Michael @ 2016-10-24  7:20 UTC (permalink / raw)
  To: yocto

Hi all

We just had an issue in regard to curl-native.
By default curl is configured with the "--with-ca-bundle=${sysconfdir}/ssl/certs/ca-certificates.crt" flag.
In case curl-native is builded the ${sysconfdir} of the current project is compiled into the binary. Due to sstate caching the binary will be reused in other projects, but the ca-bundle is still loaded from the first project. As soon as the first project (where the initial build took place) is deleted, curl-native won't be able to fetch from HTTPS sources, because the ca-path is invalid.

As a quick solution I removed the "--with-ca-bundle" configure option in native builds and curl is now loading the default certificate chain of the build host.

Does anybody found simmilar issues in other recipes?
How do you handle them?
Is there a common approach?

Kind regards

Michael


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-10-26  6:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-24  7:20 curl-native and ca-bundle Blaettler, Michael
2016-10-24 13:14 ` Patrick Ohly
2016-10-25  5:49   ` Blaettler, Michael
2016-10-25  9:32     ` Patrick Ohly
2016-10-26  6:20       ` Blaettler, Michael
2016-10-26  6:41         ` Patrick Ohly

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.