Azure function Kafka Trigger and PFX file

RK 20 Reputation points

Hi we want to use Azure function Kafka Trigger over TLSMA.

Hence referring below Link1 the "sslCertificateLocation" and "sslKeyLocation" are the inputs that I must configure.


However referring below Link2 azure function exposes .p12 file at location "/var/ssl/private"


Is there any way to leverage above settings so that there is no need to store individual private certificate and key for implementing TLSMA connectivity between Azure function Trigger and Kafka cluster?

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

Accepted answer
  1. Gowtham CP 3,660 Reputation points

    Hello RK ,

    Thanks for reaching out in the Microsoft Q&A!

    No, Azure Functions Kafka Trigger currently doesn't support using a single PFX file directly. While Azure Functions can expose the private key from a PFX file in specific scenarios (refer your Link2), Kafka Trigger relies on separate sslCertificateLocation and sslKeyLocation settings.

    Here are your options:

    Store Individual Certificate and Key: This is the recommended approach for now. You'll need to extract the certificate and key from the PFX file and store them in separate locations accessible to your Azure Function.

    Feature Request: Consider submitting a feature request to the Azure Functions team asking for PFX file support with Kafka Trigger. You can use the Azure Functions feedback forum:

    Please let me know if you have further questions.

    If the response helped, do "Accept Answer" and up-vote it to close the thread! Thanks

    0 comments No comments

0 additional answers

Sort by: Most helpful