Hi...
I have an issue in my www.mydomain.com server (Ubuntu 20.04) when i want to renew my cert with this command:
certbot certonly --manual -d mydomain.com -d *.mydomain.com --agree-tos --no-bootstrap --manual-public-ip-logging-ok --preferred-challenges dns-01 --server https://acme-v02.api.letsencrypt.org/directory
I copy two _acme02 text in my dns server and when is complete I have errors...
In /var/log/letsencrypt/letsencrypt.log:
2021-04-17 00:01:04,677:DEBUG:acme.client:Received response:
HTTP 429
Server: nginx
Date: Fri, 16 Apr 2021 19:31:04 GMT
Content-Type: application/problem+json
Content-Length: 256
Connection: keep-alive
Boulder-Requester: 99653528
Cache-Control: public, max-age=0, no-cache
Link: https://acme-v02.api.letsencrypt.org/directory;rel="index"
Replay-Nonce: 0104cBjRnd2c-xp38tl2e6eiPAG5eskpxUsaHX4XaAn1vZc
{
"type": "urn:ietf:params:acme:error:rateLimited",
"detail": "Error creating new order :: too many certificates already issued for exact set of domains: *.mydomain.com,mydomain.com: see Rate Limits - Let's Encrypt",
"status": 429
}
2021-04-17 00:01:04,678:DEBUG:certbot.log:Exiting abnormally:
Traceback (most recent call last):
File "/usr/bin/certbot", line 11, in
load_entry_point('certbot==0.40.0', 'console_scripts', 'certbot')()
File "/usr/lib/python3/dist-packages/certbot/main.py", line 1382, in main
return config.func(config, plugins)
File "/usr/lib/python3/dist-packages/certbot/main.py", line 1265, in certonly
lineage = _get_and_save_cert(le_client, config, domains, certname, lineage)
File "/usr/lib/python3/dist-packages/certbot/main.py", line 116, in _get_and_save_cert
renewal.renew_cert(config, domains, le_client, lineage)
File "/usr/lib/python3/dist-packages/certbot/renewal.py", line 320, in renew_cert
new_cert, new_chain, new_key, _ = le_client.obtain_certificate(domains, new_key)
File "/usr/lib/python3/dist-packages/certbot/client.py", line 348, in obtain_certificate
orderr = self._get_order_and_authorizations(csr.data, self.config.allow_subset_of_names)
File "/usr/lib/python3/dist-packages/certbot/client.py", line 381, in _get_order_and_authorizations
orderr = self.acme.new_order(csr_pem)
File "/usr/lib/python3/dist-packages/acme/client.py", line 863, in new_order
return self.client.new_order(csr_pem)
File "/usr/lib/python3/dist-packages/acme/client.py", line 666, in new_order
response = self._post(self.directory['newOrder'], order)
File "/usr/lib/python3/dist-packages/acme/client.py", line 95, in _post
return self.net.post(*args, **kwargs)
File "/usr/lib/python3/dist-packages/acme/client.py", line 1171, in post
return self._post_once(*args, **kwargs)
File "/usr/lib/python3/dist-packages/acme/client.py", line 1184, in _post_once
response = self._check_response(response, content_type=content_type)
File "/usr/lib/python3/dist-packages/acme/client.py", line 1042, in _check_response
raise messages.Error.from_json(jobj)
acme.messages.Error: urn:ietf:params:acme:error:rateLimited :: There were too many requests of a given type :: Error creating new order :: too many certificates already issued for exact set of domains: *.mydomain.com,mydomain.com: see Rate Limits - Let's Encrypt
2021-04-17 00:01:04,716:ERROR:certbot.log:An unexpected error occurred:
2021-04-17 00:01:04,717:ERROR:certbot.log:There were too many requests of a given type :: Error creating new order :: too many certificates already issued for exact set of domains: *.mydomain.com,mydomain.com: see Rate Limits - Let's Encrypt
2021-04-17 00:08:01,416:DEBUG:certbot.main:certbot version: 0.40.0
2021-04-17 00:08:01,416:DEBUG:certbot.main:Arguments:
2021-04-17 00:08:01,417:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#manual,PluginEntryPoint#nginx,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
2021-04-17 00:08:01,443:DEBUG:certbot.log:Root logging level set at 20
2021-04-17 00:08:01,443:INFO:certbot.log:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2021-04-17 00:08:01,447:DEBUG:certbot.log:Exiting abnormally:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/certbot/storage.py", line 211, in get_link_target
target = os.readlink(link)
FileNotFoundError: [Errno 2] No such file or directory: '/etc/letsencrypt/live/mydomain.com-0001/cert.pem'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/certbot", line 11, in
load_entry_point('certbot==0.40.0', 'console_scripts', 'certbot')()
File "/usr/lib/python3/dist-packages/certbot/main.py", line 1382, in main
return config.func(config, plugins)
File "/usr/lib/python3/dist-packages/certbot/main.py", line 1000, in update_symlinks
cert_manager.update_live_symlinks(config)
File "/usr/lib/python3/dist-packages/certbot/cert_manager.py", line 40, in update_live_symlinks
storage.RenewableCert(renewal_file, config, update_symlinks=True)
File "/usr/lib/python3/dist-packages/certbot/storage.py", line 464, in init
self._update_symlinks()
File "/usr/lib/python3/dist-packages/certbot/storage.py", line 533, in _update_symlinks
previous_link = get_link_target(link)
File "/usr/lib/python3/dist-packages/certbot/storage.py", line 213, in get_link_target
raise errors.CertStorageError(
certbot.errors.CertStorageError: Expected /etc/letsencrypt/live/mydomain.com-0001/cert.pem to be a symlink
what should I do?
in this case my another subdomains renew certs successfully!!