As I mention in the
certbot_py documentation, this is what I would like to see, assuming we’re talking about the same thing.
I simply wanted an easy way to generate certificates in my Python projects with an authorization hook/callback. This felt like the most future friendly way to accomplish this goal - at the moment.
What I would very much like to do instead is:
from certbot import client
def domain_validate_callback(domain, validation, token):
# save in a database to be handled during
# a webrequest for the `.well-known/...` URL
results = client.generate_certificate(domain_list, save_http_auth_challenge_data, ...)
Obviously untested thought experiment - but this seems intuitive to me. In short, if the above was possible, I’d happily wipe traces of
certbot_py from Github.
I’m not sure why
certbot itself isn’t a library and a command line tool.