Reputation: 5162
Similar to this and this, but I'm wondering if I can inverse the exclusion path? i.e. list the paths that require a client side cert. It's not practical to exclude all paths, because it's a lot.
Same for other services. If we have mixed client-side-cert required and none, do we always need to create separate services, e.g. App Service, Api Management etc. ? Sort of annoying
Upvotes: 0
Views: 866
Reputation: 965
I don't believe there is a way to invert the exclusions paths on the Azure App Service. However, you can follow this workaround to have full flexibility of the paths that require a client certificate.
Upvotes: 1
Reputation: 4786
Currently this feature not available. Only one way to implement this that is Exclude paths from requiring authentication
Enable mutual auth for your application, all paths under the root of your app require a client certificate for access. To remove this requirement for certain paths, define exclusion paths as part of your application configuration.
From the left navigation of your app's management page, select Configuration > General Settings.
Next to Client exclusion paths, click the edit icon.
Click New path, specify a path, or a list of paths separated by ,
or ;
, and click OK.
Click Save at the top of the page.
In the following screenshot, any path for your app that starts with /public
does not request a client certificate. Path matching is case-insensitive.
If you required to add multiple exclusion paths please give a feedback here
Upvotes: 0