Hi,
On Sat, Apr 28, 2018 at 12:05:44PM -0700, Autopot France wrote:
> # prosodyctl check
>
> Shows me this message
> certmanager error SSL/TLS: Failed to load 'CA locations':
> Check that the permissions allow Prosody to read this file. (for
> client_https port 0)
This is actually for the HTTP *client* in Prosody, nothing to do with
your certificates.
Not sure what exactly it means by 'CA locations' but it likely refers to
certificate authority root certificates, which are needed to verify
HTTPS requests. By default, Prosody looks for these in `/etc/ssl/certs`.
On Debian & friends, you would need to install the ca-certificates
package to get them.
If your distro has them elsewhere then you should report to the packager
that Prosody may need this path patched.
If you know where the root certificates are stored then you can specify
like this:
-- global section
ssl = {
-- for a directory full of certs and symlinks
capath = "/etc/ssl/certs";
-- OR if you have a single ca bundle:
cafile = "/etc/ssl/ca-bundle.crt";
}
--
Zash