#34504: SSLCertVerificationError on outgoing emails for some mailboxes
-------------------------------------+-------------------------------------
     Reporter:  Kamen Kalchev        |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  Core (Mail)          |                  Version:  4.2
     Severity:  Normal               |               Resolution:  needsinfo
     Keywords:  smtplib, ssl,        |             Triage Stage:
  Django4.2                          |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

 * cc: Adam Johnson (added)


Comment:

 Yes, sorry `check_hostname = False` should be in the "default context"
 branch.

 It's from `ssl._create_unverified_context()` that is ''"less restrict than
 `create_default_context()` to increase backward compatibility."''. It
 worked because the host wasn't checked. As far as I'm aware, this shows a
 problem with verification of host certificate chain.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34504#comment:4>
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 on the web visit 
https://groups.google.com/d/msgid/django-updates/010701879a6a0be4-44b7e98d-c14a-43d8-afa3-76e5c85f9b0f-000000%40eu-central-1.amazonses.com.

Reply via email to