I need to configure a Asp.net core web application with WebListener as server and https procotols. I wasn't able to find any documentation or faqs about that.

My Progam.cs is:

var host = new WebHostBuilder()
            .UseWebListener(options => {

             })                
            .UseContentRoot(Directory.GetCurrentDirectory())               
            .UseIISIntegration()
            .UseUrls("http://localhost:5001", "https://localhost:5002")                
            .UseStartup<Startup>()                
            .Build();

        host.Run();

What can I do for configure WebListener in https?

Thanks all in advance!

Related posts

Recent Viewed