From owner-freebsd-ports-bugs@freebsd.org Fri Jul 17 15:47:13 2020 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DBB54367F62 for ; Fri, 17 Jul 2020 15:47:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4B7b8x5bwRz4D31 for ; Fri, 17 Jul 2020 15:47:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id BE7913682AA; Fri, 17 Jul 2020 15:47:13 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BE4003680D2 for ; Fri, 17 Jul 2020 15:47:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B7b8x4kRHz4D9Y for ; Fri, 17 Jul 2020 15:47:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 867F01B93D for ; Fri, 17 Jul 2020 15:47:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 06HFlDvj005805 for ; Fri, 17 Jul 2020 15:47:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 06HFlDjp005804 for ports-bugs@FreeBSD.org; Fri, 17 Jul 2020 15:47:13 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 248047] ftp/curl: curl is unusable when CA_BUNDLE is off Date: Fri, 17 Jul 2020 15:47:12 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: michael.osipov@siemens.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: sunpoet@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jul 2020 15:47:13 -0000 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.=