Date: Fri, 17 Jul 2020 15:47:12 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 248047] ftp/curl: curl is unusable when CA_BUNDLE is off Message-ID: <bug-248047-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248047 Bug ID: 248047 Summary: ftp/curl: curl is unusable when CA_BUNDLE is off Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: sunpoet@FreeBSD.org Reporter: michael.osipov@siemens.com Assignee: sunpoet@FreeBSD.org Flags: maintainer-feedback?(sunpoet@FreeBSD.org) Configured curl: ---Begin OPTIONS List--- =3D=3D=3D> The following configuration options are available for curl-7.71.= 0: ALTSVC=3Doff: HTTP Alternative Services support BROTLI=3Doff: Brotli compression support CA_BUNDLE=3Doff: Enable CA bundle for OpenSSL/GnuTLS/mbedTLS COOKIES=3Don: Cookies support CURL_DEBUG=3Doff: cURL debug memory tracking DEBUG=3Doff: Build with debugging support DOCS=3Don: Build and/or install documentation EXAMPLES=3Doff: Build and/or install examples IDN=3Doff: International Domain Names support IPV6=3Don: IPv6 protocol support METALINK=3Doff: Metalink support NTLM=3Doff: NTLM authentication support PROXY=3Don: Proxy support PSL=3Doff: Public Suffix List support TLS_SRP=3Doff: TLS-SRP (Secure Remote Password) support =3D=3D=3D=3D> Options available for the group PROTOCOL DICT=3Doff: DICT (RFC 2229) support FTP=3Doff: FTP protocol support GOPHER=3Doff: Gopher protocol support HTTP=3Don: HTTP/HTTPS support HTTP2=3Don: HTTP/2 support (requires HTTP) IMAP=3Doff: IMAP/IMAPS support LDAP=3Doff: LDAP protocol support LDAPS=3Doff: LDAP protocol over SSL support LIBSSH2=3Doff: SCP/SFTP support via libssh2 (requires OPENSSL) POP3=3Doff: POP3/POP3S support RTMP=3Doff: RTMP protocol support via librtmp RTSP=3Doff: Real Time Streaming Protocol (RTSP) support SMB=3Doff: SMB/CIFS support SMTP=3Doff: SMTP/SMTPS support TELNET=3Doff: Telnet support TFTP=3Doff: TFTP support =3D=3D=3D=3D> GSSAPI Security API support: you have to select exactly one o= f them GSSAPI_BASE=3Doff: GSSAPI support via base system (needs Kerberos) GSSAPI_HEIMDAL=3Doff: GSSAPI support via security/heimdal GSSAPI_MIT=3Don: GSSAPI support via security/krb5 GSSAPI_NONE=3Doff: Disable GSSAPI support =3D=3D=3D=3D> DNS resolving options: you have to select exactly one of them CARES=3Doff: Asynchronous DNS resolution via c-ares THREADED_RESOLVER=3Don: Threaded DNS resolver =3D=3D=3D=3D> SSL protocol support: you can only select none or one of them GNUTLS=3Doff: SSL/TLS support via GnuTLS NSS=3Doff: SSL/TLS support via NSS OPENSSL=3Don: SSL/TLS support via OpenSSL WOLFSSL=3Doff: SSL/TLS support via wolfSSL =3D=3D=3D> Use 'make config' to modify these settings ---End OPTIONS List--- Because I solely on the system cert store (ssl=3Dbase): # openssl version -d OPENSSLDIR: "/etc/ssl" Either OPENSSLDIR/cert.pem or OPENSSLDIR/certs/. This is is only enabled in curl when --with-ca-fallback is enabled. This options is only valid for: > AC_MSG_CHECKING([whether to use builtin CA store of SSL library]) > AC_ARG_WITH(ca-fallback, > AC_HELP_STRING([--with-ca-fallback], [Use the built in CA store of the SS= L library]) > AC_HELP_STRING([--without-ca-fallback], [Don't use the built in CA store = of the SSL library]), > [ > if test "x$with_ca_fallback" !=3D "xyes" -a "x$with_ca_fallback" !=3D= "xno"; then > AC_MSG_ERROR([--with-ca-fallback only allows yes or no as parameter= ]) > fi > ], > [ with_ca_fallback=3D"no"]) > AC_MSG_RESULT([$with_ca_fallback]) > if test "x$with_ca_fallback" =3D "xyes"; then > if test "x$OPENSSL_ENABLED" !=3D "x1" -a "x$GNUTLS_ENABLED" !=3D "x1"= ; then > AC_MSG_ERROR([--with-ca-fallback only works with OpenSSL or GnuTLS]) > fi > AC_DEFINE_UNQUOTED(CURL_CA_FALLBACK, 1, [define "1" to use built in C= A store of SSL library ]) > fi OpenSSL and GnuTLS. I would expect: > if CA_BUNDLE=3Doff and SSL_BACKEND in (openssl, gnutls) CONFIGURE_ARGS+=3D--with-ca-fallback endif Subversion's libserf does set the system cert store if no one is set. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-248047-7788>