How to Get DNS key automatically

hello I have my own dns server made by PowerDNS. Now I’m trying to connect all of my domain will be generate letsencrypt ssl automatically. Now I’m gave below command and put the dns manually everything is going well

certbot certonly --manual --preferred-challenges dns --server https://acme-v02.api.letsencrypt.org/directory --manual-public-ip-logging-ok --email admin@oservo.com -d '*.oservo.com' -d oservo.com

now how can i get or store dns auth key that i insert my records table automatically

1 Like

How about setting up RFC 2136 dynamic updates?

https://certbot-dns-rfc2136.readthedocs.io/en/stable/

https://doc.powerdns.com/authoritative/dnsupdate.html

1 Like

I need this DNS txt record that i can put directly using insert command from my user panel
image

1 Like

So what’s stopping you from creating it? Certbot won’t do that for you with --manual; you need to create it yourself.

1 Like

How can i get the actual txt record and there won’t be press enter key

You don’t need to get a txt record, you need to create one. The name and contents of that record are as specified in the screen shot you provided. You need to create that record, and once you’ve done that, press Enter to tell Let’s Encrypt to validate that you’ve done so.

1 Like

If you’re willing to go outside of the panel, you can automate this process using the method that @mnordhoff described above. Otherwise, it literally does have to be done manually (each time you renew this certificate) by creating a new DNS TXT record of your own with the value that Certbot tells you.

1 Like

Do you control wpsocket.com?
Because your external domain DNS is managed by them.
(I also believe they have free Let's Encrypt certificate, based on their introduction page)
WordPress SSL | Secured Socket Layer Certificate for WordPress | 2023

1 Like

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