Is certbot available as a library, or are there any plans for that?
We're looking at using Azure Application Gateway, so we're going to have to do something to auotomate this. Calling certbot from a script is doable, but then we have to make .pfx files etc. Ideally this is something I'd like to do from python using certbot and pyOpenSSL then use the azure sdk to upload them and other bits to set up the DNS challenge.
Also renewals look like they might be trickier to automate using the command line options as well (though I confess I've not dug into that too much yet)