A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Renames the email certificate so it doesn't get read during Docker startup (#4346)
Trenton Hb18b0706225f
diff --git a/docs/configuration.md b/docs/configuration.mdindex 45a004b40..ab475e382 100644--- a/docs/configuration.md+++ b/docs/configuration.md@@ -501,7 +501,7 @@ HTTP header/value expected by Django, eg `'["HTTP_X_FORWARDED_PROTO", "https"]'`Settings this value has security implications. Read the Django documentationand be sure you understand its usage before setting it.-#### [`PAPERLESS_EMAIL_CERTIFICATE_FILE=<path>`](#PAPERLESS_EMAIL_CERTIFICATE_FILE) {#PAPERLESS_EMAIL_CERTIFICATE_FILE}+#### [`PAPERLESS_EMAIL_CERTIFICATE_LOCATION=<path>`](#PAPERLESS_EMAIL_CERTIFICATE_LOCATION) {#PAPERLESS_EMAIL_CERTIFICATE_LOCATION}: Configures an additional SSL certificate file containing a [certificate](https://docs.python.org/3/library/ssl.html#certificates)or certificate chain which should be trusted for validating SSL connections against mail providers.diff --git a/src/paperless/settings.py b/src/paperless/settings.pyindex f3cbb6ee2..c61c55117 100644--- a/src/paperless/settings.py+++ b/src/paperless/settings.py@@ -483,7 +483,7 @@ CSRF_COOKIE_NAME = f"{COOKIE_PREFIX}csrftoken"SESSION_COOKIE_NAME = f"{COOKIE_PREFIX}sessionid"LANGUAGE_COOKIE_NAME = f"{COOKIE_PREFIX}django_language"-EMAIL_CERTIFICATE_FILE = __get_path("PAPERLESS_EMAIL_CERTIFICATE_FILE")+EMAIL_CERTIFICATE_FILE = __get_path("PAPERLESS_EMAIL_CERTIFICATE_LOCATION")###############################################################################