Delete context in a TLS / HTTPS Server

0

The tls.Server class allows us to add certificates for different "hostnames" dynamically using the addContext () function but I have not yet found a way to delete a context once it has been added. Is there a way to do this? Any internal property of the object that accesses these objects?

The alternative I thought was to use SNICallback, but I wanted to clear up doubts about the first function. Thank you very much.

    
asked by Federico Morán 13.02.2018 в 17:06
source

0 answers