Duplicate existing SSL_CTX

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Duplicate existing SSL_CTX

Zeyuan Yu

I'm working on a cert+key hot reload feature. Wonder if there is a way to duplicate an existing SSL_CTX?

The idea would be duplicate the context, change the cert and key it is using, and then swap the pointers to make it atomic.


Zeyuan Yu
Software Development Engineer, Verizon Media Group

m: 217.369.5086