Allow users to set a combined certificte and key file for additional certificates in the SSL context

This commit is contained in:
Trenton H
2023-08-21 13:21:02 -07:00
parent 3c2bdd9a22
commit 7279eb27c0
5 changed files with 83 additions and 7 deletions

View File

@@ -501,6 +501,19 @@ HTTP header/value expected by Django, eg `'["HTTP_X_FORWARDED_PROTO", "https"]'`
Settings this value has security implications. Read the Django documentation
and be sure you understand its usage before setting it.
`PAPERLESS_EMAIL_CERTIFICATE_FILE=<path>`
: Configures an additional SSL certificate file containing a [combined key and certificate](https://docs.python.org/3/library/ssl.html#combined-key-and-certificate) file
for validating SSL connections against mail providers. This is for use with self-signed certificates against
local IMAP servers.
Defaults to None.
!!! warning
Settings this value has security implications for the security of your email.
Understand what it does and be sure you need to before setting.
## OCR settings {#ocr}
Paperless uses [OCRmyPDF](https://ocrmypdf.readthedocs.io/en/latest/)