ssl_context()
public
SSL context for the server when run in SSL mode
Show source
def ssl_context
@ssl_context ||= begin
if @config[:SSLEnable]
ssl_context = setup_ssl_context(@config)
@logger.info("\n" + @config[:SSLCertificate].to_text)
ssl_context
end
end
end