Azure / Azure/azure-functions-dotnet-worker
Unable to access request certificate from Function Context Extension
- Dominant language
- C#
- Stars
- 466
- Forks
- 215
- Avg merge
- 3d 10h
- Merged PRs (30d)
- 7
Description
There is currently no way to get access to the certificate passed to the function app through the function context during local development (and perhaps when it is hosted as well).
The certificate is usually attached to the httpcontext but the httpcontext returned by the "GetHttpContext" extension method returns a null certificate.
This extension method is defined here:
Azure-functions-dotnet-worker/extensions/Worker.Extensions.Http.AspNetCore/src/FunctionContext
/FunctionContextExtensions.cs
If this method is non functional then certificate authentication is not possible. Is there perhaps another recommended way to access the request certificate? Or, are there additional configuration steps required in order to allow for the worker function to pass the certificate along?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.