Daphne and Intermediate certificate

39 views
Skip to first unread message

Алексей Кузуб

unread,
May 4, 2017, 10:25:10 AM5/4/17
to Django users
Hi! I cam using Django channels and Daphne web server. And I want to use web sockets with it over https i.e using SSL. Can Daphne use intermediate certificates and how i can to run this stack?

Andrew Godwin

unread,
May 4, 2017, 12:39:49 PM5/4/17
to django...@googlegroups.com
You can - if you use the `-e` method of passing arguments to Daphne, as a couple of the examples in the README show, you can use the full Twisted endpoint syntax, which allows a extraCertChain parameter.

You can see their documentation here, including example syntax for how that would look: https://twistedmatrix.com/documents/current/core/howto/endpoints.html#servers

Andrew

On Thu, May 4, 2017 at 7:25 AM, Алексей Кузуб <roni...@gmail.com> wrote:
Hi! I cam using Django channels and Daphne web server. And I want to use web sockets with it over https i.e using SSL. Can Daphne use intermediate certificates and how i can to run this stack?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/00b0e2b3-801b-4f89-abaa-8d0b47a0a7f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Алексей Кузуб

unread,
May 5, 2017, 1:47:21 AM5/5/17
to Django users
Thank you very much, Andrew! It works!

четверг, 4 мая 2017 г., 19:39:49 UTC+3 пользователь Andrew Godwin написал:
You can - if you use the `-e` method of passing arguments to Daphne, as a couple of the examples in the README show, you can use the full Twisted endpoint syntax, which allows a extraCertChain parameter.

You can see their documentation here, including example syntax for how that would look: https://twistedmatrix.com/documents/current/core/howto/endpoints.html#servers

Andrew
On Thu, May 4, 2017 at 7:25 AM, Алексей Кузуб <roni...@gmail.com> wrote:
Hi! I cam using Django channels and Daphne web server. And I want to use web sockets with it over https i.e using SSL. Can Daphne use intermediate certificates and how i can to run this stack?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages