"[domain] uses an invalid security certificate. The certificate is not trusted because […]"
If a Zotero error report shows an error similar to the above for your institution's proxy or WebDAV server or a site you're trying to save from, there are two possibilities:
- You're connecting to a server with a “self-signed certificate”. For a proxy or WebDAV server, you would need to whitelist the certificate in Zotero. This is likely the case if you're trying to use a server you configured yourself.
- The server is misconfigured and will need to be fixed by your IT department or the IT department of the site operator. See the technical details below for more information.
If you're using an institutional proxy or WebDAV and are unsure which is the case, point your IT department to this page along with the URL from the error report.
If you're getting a certificate error for a zotero.org or s3.amazonaws.com URL — for example, while syncing — that's a different issue.
Technical Details: Missing Intermediate Certificate
If the server isn't using a self-signed certificate (i.e., if it's chained to a root certificate that's trusted in browser stores), this error generally occurs because the server isn't serving the necessary “intermediate certificate” for secure connections, and Zotero (like Firefox, on which it is based) won't download it on its own. Without an intermediate certificate, it's impossible to determine whether the connection is secure, and the connection fails.
To verify that this is the case, submit the URL from the error report to https://www.ssllabs.com/ssltest/ and view the results. If you see “Chain issues: Incomplete” in orange under “Additional Certificates (if supplied)”, you're experiencing this issue. The report will then also say “Extra download” (instead of “Sent by server” or “In trust store”) for one or more certificates listed under “Certification Paths”. Alternatively, one or more bundled intermediate certificates may be listed as expired. The missing intermediate certificate(s) should be provided along with the site's primary certificate when HTTPS clients connect.
If you're able to load the same HTTPS URL in a browser, either the browser is downloading intermediate certificates automatically (as Chrome does) or you previously loaded another site (perhaps even of your institution's) that included the intermediate certificate, which the browser cached and is using even on sites that don't serve it properly. Sites should always serve their intermediate certificates and are misconfigured if they don't. In the case of Firefox, if you create a new Firefox profile, you should get a certificate error trying to load the same URL, which is essentially the situation Zotero is in.