One can start a SSL server with a static certificate like this:

ctx = create_default_context(Purpose.CLIENT_AUTH)
ctx.load_cert_chain('pem.crt')
async(start_server(handle, host, port, family=AF_INET, limit=8192, ssl=ctx))

However, if you need to use dynamic certificates, you must have access
to "SSL Handshake" in async means. But this is not currently supported
by asyncio.

I also remember that, about 3 months ago we had some discussion
about creating a plain Stream and at some point of communication
switching to SSL, which again need "Async SSL HandShake".

Are there any developments about supporting this capability.

Regards, Imran

Reply via email to