easydns / certbot-dns-easydns

EasyDNS plugin for certbot based on Lexicon
Apache License 2.0
0 stars 1 forks source link

How to pass parameters for automated renewal? #1

Open vsviridov opened 1 year ago

vsviridov commented 1 year ago

Could you please document how to set up /etc/letsencrypt/renewals/domain.conf for autmatic renewal with this plugin?

lhasaned commented 1 year ago

@vsviridov You can use crontab if you want to renew the certificates. I am not sure what you actually want to know. Can you elaborate your issue and provide more information about how the certificates are fetched? The file you mentioned is generated by certbot.

Thank You

vsviridov commented 1 year ago

Currently when I run certbot renew it fails.

I have the /etc/letsencrypt/renewal/<domain>.conf file, and if I set authenticator = certbot-dns-easydns and re-run the renewal process, I get an error saying the path to ini is not provided. Is there a way to wire that up through that renewal file?

My system is set to autorenew automatically via systemd timer, but it simply runs certbot renew under the covers...

lhasaned commented 1 year ago

You need to provide the full path of the dns-easydns-credentials file. Which is a ini file containing your usertoken, userkey, and endpoint`. Try by adding

dns-easydns-credentials: /path/to/credential.ini

Then run certbot renew again.

Thanks