Closed ericthomas1 closed 3 years ago
Thanks for the feedback! We are currently investigating and will update you shortly.
@ericthomas1, apologies for the delayed response. I'm trying to get clarification, but I do believe there isn't any logic that is done against client certificates. The reasoning behind this is to allow customers to do any sort of validation they choose without being confined to a preset of rules.
How is this client cert being used with App Service - is the site getting uploaded as PFX or is this a certificate from AKV imported to webapp? If the cert is uploaded & used with AppService then we do some basic validation for expiration. If the certificate on AKV - then AKV team might do more detailed checks & while being imported to webapp as well we will still similar validation checks. Hope this helps.
@RyanHill-MSFT: Thanks for the response.
@panchagnula: RE: "How is this client cert being used with App Service...":
Client certificate mode
to Require
Hi @ericthomas1, it's up to your application code to perform all validation requirements. App Service doesn't perform any sort of validation.
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.
Pointing folks to other potentials here...
After a cursory glance at the APIM service:
Some Pro's:
Some Con's
Hello,
I need more details on what Azure App Service does when it receives a request that includes a Client Certificate. The docs here state:
"App Service does not do anything with this client certificate other than forwarding it to your app."
I'm certain this is not complete information as App Service likely ensures the client requestor is in possession of the private key associated with the certificate in the request.
Does App Service perform any OCSP lookups on the cert to ensure it is valid? What about check the NotValidBefore/After dates on the cert?
Is this all up to the application code to check?
Thank you
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.