Using In-Memory SSL Certificates with Tornado in Python

33 Views Asked by At

I'm currently working on a Python project using Tornado and I need to secure the communication between the client and the server using HTTPS. However, due to the sensitive nature of the project, I want to avoid storing the SSL certificates as files on the disk.

I'm trying to load the SSL certificates directly from memory, but I'm encountering issues because the Python SSL module, which Tornado uses for SSL/TLS, expects the certificates and keys to be loaded from files.

Is there a way to load the SSL certificates from memory instead of from files? Or is there a workaround to this issue?

0

There are 0 best solutions below