[New-bugs-announce] [issue40990] Make http.server support SSL

Rémi Lapeyre report at bugs.python.org
Tue Jun 16 08:51:47 EDT 2020


New submission from Rémi Lapeyre <remi.lapeyre at henki.fr>:

It's a bit outside of its original scope but with more and more application requiring HTTPS it is sometime needed even when doing some simple tests or local development.

It's quite easy to have an SSL certificate, either auto-signed or using Let's Encrypt but configuring Nginx or HAProxy just to serve a local directory on localhost is tedious.

I think just wrapping the socket in SSLSocket and adding two flags on the command line would be enough?

----------
components: Library (Lib)
messages: 371647
nosy: remi.lapeyre
priority: normal
severity: normal
status: open
title: Make http.server support SSL
type: behavior
versions: Python 3.10

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40990>
_______________________________________


More information about the New-bugs-announce mailing list