server.setSecureContext(options)
options<Object> 一个对象,包含tls.createSecureContext()options参数中可能的任意属性(例如key、cert、ca等)。
server.setSecureContext() 方法用于替换现有服务器的安全上下文。服务器的现有连接不会被中断。
【The server.setSecureContext() method replaces the secure context of an
existing server. Existing connections to the server are not interrupted.】