'How to configure Service Fabric to support only HTTPS connections but not http?

I have Azure service fabric cluster created on local test environment & deployed microservice based web apis, it working well without any issues. But would like to enable HTTPS traffic on cluster level and want to stop HTTP requests

https://mytestsf.westus.cloudapp.azure.com:8800/ => expecting this one to work

http://mytestsf.westus.cloudapp.azure.com:8800/ => expecting this one NOT to work

Is Support only for HTTPS traffic can be done on Azure service fabric level? if yes, how?

P.S: This service fabric cluster not having any external network component like traffic manager or application gateway in front of it as it is local test environment.



Solution 1:[1]

Follow the documentation - add an HTTPS endpoint using Kestrel - Azure Service Fabric.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Deepak Tatyaji Ahire