HOME > 問題解決一覧 > [Let's Encrypt]Error: urn:acme:error:rateLimitedのエラー

事象

Let's Encryptで証明書を取得しようとしていたら下記のエラーが出てしまいました。

2017-04-24 13:18:39,696:DEBUG:certbot.log:Exiting abnormally:
Traceback (most recent call last):
  File "/root/.local/share/letsencrypt/bin/letsencrypt", line 11, in <module>
    sys.exit(main())
  File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/certbot/main.py", line 755, in main
    return config.func(config, plugins)
  File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/certbot/main.py", line 682, in certonly
    lineage = _get_and_save_cert(le_client, config, domains, certname, lineage)
  File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/certbot/main.py", line 82, in _get_and_save_cert
    lineage = le_client.obtain_and_enroll_certificate(domains, certname)
  File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/certbot/client.py", line 316, in obtain_and_enroll_certificate
    certr, chain, key, _ = self.obtain_certificate(domains)
  File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/certbot/client.py", line 285, in obtain_certificate
    self.config.allow_subset_of_names)
  File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/certbot/auth_handler.py", line 66, in get_authorizations
    self.authzr[domain] = self.acme.request_domain_challenges(domain)
  File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/acme/client.py", line 212, in request_domain_challenges
    typ=messages.IDENTIFIER_FQDN, value=domain), new_authzr_uri)
  File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/acme/client.py", line 191, in request_challenges
    response = self.net.post(self.directory.new_authz, new_authz)
  File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/acme/client.py", line 670, in post
    return self._post_once(*args, **kwargs)
  File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/acme/client.py", line 683, in _post_once
    return self._check_response(response, content_type=content_type)
  File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/acme/client.py", line 570, in _check_response
    raise messages.Error.from_json(jobj)
Error: urn:acme:error:rateLimited :: There were too many requests of a given type :: Error creating new authz :: Too many invalid authorizations recently.

また、証明書の更新(renew時)にも下記のエラーが出てしまいました。

./certbot-auto renew
Requesting root privileges to run certbot...
  /Users/imagepit/.local/share/letsencrypt/bin/letsencrypt renew
Saving debug log to /var/log/letsencrypt/letsencrypt.log

-------------------------------------------------------------------------------
Processing /etc/letsencrypt/renewal/itpit.net.conf
-------------------------------------------------------------------------------
Cert is due for renewal, auto-renewing...
Renewing an existing certificate
Attempting to renew cert from /etc/letsencrypt/renewal/itpit.net.conf produced an unexpected error: urn:acme:error:rateLimited :: There were too many requests of a given type :: Error creating new authz :: Too many invalid authorizations recently.. Skipping.

All renewal attempts failed. The following certs could not be renewed:
  /etc/letsencrypt/live/itpit.net/fullchain.pem (failure)
1 renew failure(s), 0 parse failure(s)

回答

どうやら短い間に証明書取得に失敗すると下記のエラーが出るようです。 1時間ほど待てばエラーはでなくなるようです。

https://community.letsencrypt.org/t/how-long-i-got-block-from-invalid-authorization/31584

コメント

この記事に関する質問やご意見・ご感想がありましたら、下記よりコメントください。
Githubアカウントでログインしていれば誰でも投稿できます。