Azure Function Core Tool HTTP Trigger to HTTPS

Lev Goronshtein 41 Reputation points


Are there any instructions as to how to secure HTTP triggers and get them to respond on HTTPS instead?

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,998 questions
0 comments No comments
{count} votes

Accepted answer
  1. MughundhanRaveendran-MSFT 12,396 Reputation points

    Hi @Lev Goronshtein ,

    Thanks for reaching out to Q&A.

    It appears that you want to enforce TLS for a http triggered app running on Kubernetes.

    Please refer to the following article that has the steps to enforce TLS on function app running on K8

    Feel free to reach out to me if you have any queries or concerns.

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Bruno Lucas 4,411 Reputation points MVP

    Hi @Lev Goronshtein
    You can enable HTTPS Only under TLS/SSL settings:
    (the url is for web app but that is also available under function app)
    You may need to restart the Function app after changing this setting. this will redirect to the https url of the function

    If you need for local testing:

    0 comments No comments

  2. Lev Goronshtein 41 Reputation points

    @Bruno Lucas ,

    Sorry i wasnt more specific but these HTTP triggers are running in a K8s cluster on prem. This is using Azure Functions Core Tools to deploy them.

    0 comments No comments