#35653: Support EMAIL_SSL_CERTFILE for private certificate authority
-----------------------------+-----------------------------------------
     Reporter:  dkaylor      |                    Owner:  Igor Scheller
         Type:  New feature  |                   Status:  assigned
    Component:  Core (Mail)  |                  Version:  4.2
     Severity:  Normal       |               Resolution:
     Keywords:               |             Triage Stage:  Accepted
    Has patch:  1            |      Needs documentation:  0
  Needs tests:  0            |  Patch needs improvement:  1
Easy pickings:  0            |                    UI/UX:  0
-----------------------------+-----------------------------------------
Comment (by Mike Edmunds):

 Since the last activity on this ticket:

 * We've documented how to use self-signed certs and private CAs with
 Django's SMTP EmailBackend by updating the system CA bundle. (Added in
 [https://docs.djangoproject.com/en/5.1/ref/settings/#email-ssl-
 
certfile:~:text=EMAIL_SSL_CERTFILE%20should%20not,SSLContext.load_verify_locations().
 Django 5.1 settings docs], expanded into its own
 [https://docs.djangoproject.com/en/6.1/topics/email/#private-and-self-
 signed-smtp-server-certificates section in 6.1].)
 * We've implemented dictionary-based `MAILERS` configuration, which allows
 adding new EmailBackend options without needing new top-level settings.
 * There's been some helpful discussion in the PR about why modifying the
 system CA bundle is not always possible or desirable and an SMTP
 EmailBackend option makes sense.
 (https://github.com/django/django/pull/18456#issuecomment-2604487356 et
 seq.).

 I think a reasonable next step would be updating the open PR for the
 Django 6.2dev codebase (taking advantage of `MAILERS` OPTIONS). Or if
 there's still controversy over this, bouncing it to the new-features
 process and consolidating all of the pros and cons there.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35653#comment:16>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/0107019ec26c8e34-221736a9-01bb-4494-8b85-8ccf88df7e85-000000%40eu-central-1.amazonses.com.

Reply via email to