Simple HTTPS server Run the script to get a simple HTTP server. The test cert and key are also included. To enable mutual authentication, pass cert_reqs=ssl.CERT_REQUIRED in the ssl.wrap_socket() call along with the CA path in ca_certs