<div dir="ltr">Hi,<div><br></div><div>I'm working on a cert+key hot reload feature. Wonder if there is a way to duplicate an existing SSL_CTX?</div><div><br></div><div>The idea would be duplicate the context, change the cert and key it is using, and then swap the pointers to make it atomic.</div><div><br></div><div>Regards,</div><div>Zeyuan</div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px"><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><img width="96" height="43" alt="work-eat-sleep--400090.jpg" style="border: none;" src="https://lh5.googleusercontent.com/7Wvb1VaZREPvEtr5cQP-leSMY4GQw_wcgnVdnQvY6rEjFJ2XIx7RrvGTF8xw3Akp-8vowtkGXRZYE-vluFab6qxOwlE5Yt4mbPsvam28zfq0Oe8kR5eDiuBNx72AXbM_9QeZMoMI"></span></span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px"><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px"><p style="margin:1.25em 0px;color:rgb(0,0,0);font-family:NeueHaas-Web,Helvetica,Arial,sans-serif;font-size:20px"><strong>Zeyuan Yu</strong><br>Software Development Engineer, Verizon Media Group</p><p style="margin:1.25em 0px;color:rgb(0,0,0);font-family:NeueHaas-Web,Helvetica,Arial,sans-serif;font-size:20px">m: 217.369.5086</p></div></div></div>