Azure function - Python

Carolina Zamisnicu 316 Reputation points
2021-08-16T15:18:41.3+00:00

Hi,

I want to renew my Certbot SSL certificates as they will expire soon and I want to do that with Azure Functions, to create a script whether it's Python or Java to automatically renew these certificates after a period of time. How can I do that? Can you guide me through?
Thanks!

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,908 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,930 questions
0 comments No comments
{count} votes

Accepted answer
  1. Samara Soucy - MSFT 5,141 Reputation points
    2021-08-17T02:17:24.26+00:00

    Since Certbot sets up Let's Encrypt certs by being installed a host machine, it wouldn't work with Azure Functions.

    There are a few python clients available. You might be able to modify the code to work on Functions: https://letsencrypt.org/docs/client-options/#clients-python.

    What might be the best choice is there is a 3rd party client already setup to work with Azure Functions: https://github.com/shibayan/appservice-acmebot. It is in C#, so if you don't want to deploy it as-is then it's not in one of your preferred languages. However, the similarities between C# and Java means that it still may be a good foundation for you to start with if you wanted to implement it yourself.


0 additional answers

Sort by: Most helpful

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.