simplehttpserver: Improve certificate handling
Stop using deprecated ssl.wrap_socket, and let unset key-file mean the key is included in cert-file, as is done in python ssl module. Also let the server crash if specified cert-file or key-file does not exist, instead of silently falling back to non-TLS http.
Showing
Please register or sign in to comment