[Bug 229122] www/aria2: path to default ssl certificates should be hardcoded at compile time

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jun 18 19:17:27 UTC 2018


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

            Bug ID: 229122
           Summary: www/aria2: path to default ssl certificates should be
                    hardcoded at compile time
           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: mqudsi at neosmart.net
          Assignee: sunpoet at FreeBSD.org
             Flags: maintainer-feedback?(sunpoet at FreeBSD.org)

When `aria2c` is used with the ca_root_nss package installed, an error message
is still printed complaining that trusted root certificates could not be found:

```
06/18 14:10:05 [ERROR] Failed to load trusted CA certificates from no. Cause:
error:02001002:system library:fopen:No such file or directory
```

The `aria2c` command takes a parameter `--ca-certificate` that can be pointed
to `/etc/ssl/cert.pem` to use the Mozilla SSL certificates, or a configuration
file can be created at ~/.aria2/aria2.conf that contains the line
`ca-certificate=/etc/ssl/cert.pem` to get these certificates to be used.

However, this should only be necessary to override the platform-default
certificates that are hardcoded into the binary at compile-time. I believe the
`--with-ca-bundle=/etc/ssl/cert.pem` can be passed to `./configure` when
compiling aria2 to have it default to that path, and I feel that it is a bug
for that not be the case.

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


More information about the freebsd-ports-bugs mailing list