package/libcurl: fix missing CA bundle when wolfssl is SSL/TLS provider
PATCH 1/1 package/libcurl: fix missing CA bundle when wolfssl is SSL/TLS provider
From: Dimitar Tomov <[email protected]>
Without CA bundle curl can not verify the remote peer and work with https. This is fixed by adding a config option pointing to the default location for CA bundle in buildroot. Alternatives like OpenSSL and MbedTLS use the same path, however the wolfSSL build options for libcurl did not include this path until now.
--- package/libcurl/libcurl.mk | 1 + 1 file changed, 1 insertion(+)
package/libcurl/libcurl.mk +1 -0
@@ -77,6 +77,7 @@ endif ifeq ($(BR2_PACKAGE_LIBCURL_WOLFSSL),y) LIBCURL_CONF_OPTS += --with-wolfssl=$(STAGING_DIR)/usr +LIBCURL_CONF_OPTS += --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt LIBCURL_DEPENDENCIES += wolfssl else LIBCURL_CONF_OPTS += --without-wolfssl
Signature · 6 lines
2.27.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Yann E. MORIN
AppliedDimitar, All,
On 2022-06-05 15:47 +0300, Dimi Tomov spake thusly:
Quoted 9 lines
From: Dimitar Tomov <[email protected]>
Without CA bundle curl can not verify the remote peer and work with https. This is fixed by adding a config option pointing to the default location for CA bundle in buildroot. Alternatives like OpenSSL and MbedTLS use the same path, however the wolfSSL build options for libcurl did not include this path until now.
Signed-off-by Dimitar Tomov <[email protected]>
Applied to master, thanks.
Regards,
Yann E. MORIN.
Quoted 23 lines
--- package/libcurl/libcurl.mk | 1 + 1 file changed, 1 insertion(+)package/libcurl/libcurl.mk +1
-0@@ -77,6 +77,7 @@ endif ifeq ($(BR2_PACKAGE_LIBCURL_WOLFSSL),y) LIBCURL_CONF_OPTS += --with-wolfssl=$(STAGING_DIR)/usr +LIBCURL_CONF_OPTS += --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt LIBCURL_DEPENDENCIES += wolfssl else LIBCURL_CONF_OPTS += --without-wolfsslSignature · 6 lines
2.27.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Dimi" == Dimi Tomov <[email protected]> writes:
From: Dimitar Tomov <[email protected]>
Without CA bundle curl can not verify the remote peer and work with https. This is fixed by adding a config option pointing to the default location for CA bundle in buildroot. Alternatives like OpenSSL and MbedTLS use the same path, however the wolfSSL build options for libcurl did not include this path until now.Signed-off-by Dimitar Tomov <[email protected]>
Committed to 2022.02.x, thanks.
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot