[Bug 226825] www/aria2: Missing SSL certificates break HTTPS download

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Mar 21 14:36:53 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226825

            Bug ID: 226825
           Summary: www/aria2: Missing SSL certificates break HTTPS
                    download
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet at FreeBSD.org
          Reporter: marcel at herrbischoff.com
             Flags: maintainer-feedback?(sunpoet at FreeBSD.org)
          Assignee: sunpoet at FreeBSD.org

If you run aria2c with the "--no-conf=true" flag and try to download a HTTPS
URL, it fails with an "Failed to load trusted CA certificates from no. Cause:
error:02001002:system library:fopen:No such file or directory" error. This
because aria2c by default expects the certificates to be in
"/etc/ssl/certs/ca-certificates.crt", which is a Linuxism. This also breaks
tools like pyenv when aria2c is installed, which use this flag
(https://github.com/yyuu/ruby-build/commit/6baed1ff66d3bffc6e9ac18d212344f986cfa9d4).

Adding the configure flag
"--with-ca-bundle='/usr/local/share/certs/ca-root-nss.crt'" on build resolves
this, as the certificate bundle is already a requirement.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list