General settings in consumption function app

Tom Bulsink | Inspiro 6 Reputation points
2022-07-12T13:26:46.293+00:00

I would like to force clients of my function app to provide their client TLS certificate when connecting which i would like to inspect inside the triggered function.
According to several topics this would be possible if i set "Client certificate mode" to for example "Allow". The server would request the client certificate in that case in the TLS handshake and provide that client certificate in the "X-ARR-ClientCert" request header.

Now it seems that for a consumption plan function app, the general settings are not available, in the portal at least.

I am able to change the setting in the cloud shell using:

az functionapp update --set clientCertMode="Optional" --name <<function app name>> --resource-group <<resource group>>

But that won't allow me to set it to "Allow", e.g. the server should request the client certificate in the TLS handshake.

My questions are:

  • Why are these settings not available on a consumption plan app?
  • How would one set the "Client certificate mode" to "Allow" in this case?
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,909 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sam Cogan 10,812 Reputation points Microsoft Employee Volunteer Moderator
    2022-07-12T14:04:57.933+00:00

    I don't believe that requiring client certificates is supported for the consumption plan, only the dedicated app service plan. I'm struggling to find any docs that confirm that, but that was my understanding.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.