Ask how to automatically renew a wildcard certificate?

Ask how to automatically renew a wildcard certificate
I have Server Name Server 1, Name Server 2, and Web server.
You want to use this to automatically renew your wildcard certificate.
Is there a good way?

Hi @JeongHaeHong,

How did you originally obtain the certificate? (Or are you just wondering about how this will work in the future?)

Do you have a DNS provider that lets you make DNS zone updates using an API?

./venv/bin/certbot -d mydomain, *. mydomain --email --text --agree-tos --server - manual - priority-challenges dns --expand --renew-by-default --manual-public-ip-logging-ok certonly

The above command was used when generating the certificate.

The ns1 server and the ns2 server are the servers that I manage, and there are various api provided by letsencrypt. I do not know what api should be used. Please help me. T.T.

If the nameservers support nsupdate/RFC2136 (such as BIND or PowerDNS), you can use an auth hook to automatically update your nameservers with the required validation records. This would allow automatic renewal too.

Here’s one project I found that has written the auth hooks for Certbot already:

There’s also an official RFC2136 plugin for Certbot, but it might not be available on your platform, depending on how you install/run Certbot:

1 Like

정말 고맙습니다. Thank you very much!!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.