# SSL/TLS Certificates

## cacert.pem

If you run LibreELEC behind an inline proxy that intercepts TLS communications or access content from an TLS encrypted source that requires a self-signed certificate to be trusted, you need to add the private CA certificate to the OS trust chain.

This is done by creating `/storage/.config/cacert.pem` with the private CA certificate details and rebooting. On restart the `ssl-config` systemd service will append the private certificate to the OS default certificate file to create a combined file `/run/libreelec/cacert.pem` which is the symlink target for `/etc/ssl/cacert.pem` referenced by Kodi, curl, etc.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.libreelec.tv/configuration/ssl-tls-certificates.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
