This is a simple context factory for auto-creating SSL keys and certificates.
Communication is the same as telnet, except data transfer is done with encryption.
Initialize self. See help(type(self)) for accurate signature.
This function looks for RSA key and certificate in the current directory. If files ssl.key and ssl.cert does not exist, they are created.
This is called by the portal when creating the SSL context server-side.
ssl_context (tuple) –
- A key and certificate that is either
existing previously or or created on the fly.