webBuilder.ConfigureKestrel(server =>
{
server.Listen(IPAddress.Loopback, 5001, listenOptions =>
{
listenOptions.Protocols = HttpProtocols.Http2;
listenOptions.UseHttps("bml.pfx", "testabc");
});
});
even with the certificate configured, when i access the service its still https://localhost:5001, and i want to change it to https://apiservice.bml.com:5001
thanks.