I ran this command: certbot certonly --config="/etc/letsencrypt/cli.ini" --standalone --cert-name="zw.drubn.de" --domains="zw.drubn.de" --keep-until-expiring
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator standalone, Installer None
Obtaining a new certificate
An unexpected error occurred:
There were too many requests of a given type :: Error creating new order :: too many certificates already issued for exact set of domains: zw.drubn.de: see https://letsencrypt.org/docs/rate-limits/
Please see the logfiles in /var/log/letsencrypt for more details.
It seems that certbot always tries to obtain a new certificate with above command despite --keep-until-expiring is explicitly set. Is there a way to run certbot certonly so that a new certificate is obtained when appropriate?
Good idea. I currently use certbot certonly to automatically add/remove subdomains certificated under the same certificate. But now I notice that my process is flawed, because multiple certificates are created for the same domain with identical subdomain set. I am somewhat confused now. certonly does not always ceate a new certificate configuration entry, does it?