Certbot automation with 3rd Party DNS provider?

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My web server is (include version): apache

The operating system my web server runs on is (include version): Debian 12

My hosting provider, if applicable, is: autodns.com

I can login to a root shell on my machine (yes or no, or I don't know): yes

I'm using a control panel to manage my site (no, or provide the name and version of the control panel): no

Hi Team,

is it possible to integrate a 3rd party API (not supported directly from certbot) with certbot?
the goal is to automate the renewal operations for wildcard Zertificates.

well appreciated

Hi @raven4d, and welcome to the LE community forum :slight_smile:

There are hooks that can be used.
See:
User Guide — Certbot 3.1.0.dev0 documentation

You might also consider looking at other ACME clients - maybe one of them has an API for you DSP.

3 Likes

Just adding to rg305 comment ... both acme.sh and lego have support for a wide variety of DNS providers as standard, as two examples

3 Likes

many thanks fĂĽr the quick reply!

this is exactly what i was looking for

have a nice day
cheers!

2 Likes

And if you wish to keep using Certbot with any DNS API which is covered by lego, you could use certbot-dns-multi which uses lego under the hood.

1 Like

If you are skilled enough to develop your own extensions for the DNS API you might consider using Apache mod_md and its extensions.

That is an ACME Client built into Apache avoiding the need to install something else

Using mod_md would be easier to manage a collection of domain names without needing a wildcard too. Even using the TLS-ALPN challenge (port 443). But it does support DNS Challenges although I have no personal experience with that part of it.

https://httpd.apache.org/docs/2.4/mod/mod_md.html

2 Likes