- hosts[host].ssl_ctx = certmanager.get_context(host, "client", host_config); -- for outgoing connections
- hosts[host].ssl_ctx_in = certmanager.get_context(host, "server", host_config); -- for incoming connections
+ hosts[host].ssl_ctx = certmanager.create_context(host, "client", host_config); -- for outgoing connections
+ hosts[host].ssl_ctx_in = certmanager.create_context(host, "server", host_config); -- for incoming connections