#34524: Error while sending TLS smtp email on "self-signed certificate" server
-----------------------------+--------------------------------------
Reporter: Buky | Owner: nobody
Type: Bug | Status: closed
Component: Core (Mail) | Version: 4.2
Severity: Normal | Resolution: duplicate
Keywords: ssl | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------+--------------------------------------
Comment (by aliceni81):
Just figure it out without defining certfile and keyfile:
1. Add the cert to trusted root CA
2. Use the hostname as EMAIL_HOST instead of IP
Replying to [comment:5 aliceni81]:
> I have the same error as yours. Have your figured out the solution
instead of subclass EmailBackend?
--
Ticket URL: <https://code.djangoproject.com/ticket/34524#comment:6>
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/0107018800f0d8d5-0e4b4951-6979-45a9-af09-ccbe383e1d0a-000000%40eu-central-1.amazonses.com.