8
7

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Lets' Encrypt で There were too many requests of a given type ~ って言われるとき

Posted at

Lets' Encrypt で SSL 証明書を取得しようとした時、 too many requests って言われることがあります。

There were too many requests of a given type :: Error creating new cert :: too many certificates already issued for: example.com

週5枚までとかのレート制限に引っかかっている模様。

設定をミスっていて、エラーになったりしても、レート制限に引っかかって取得できないということもあるので困りますよね。

解決方法

レート制限に抵触しなくなるまで待てっていうのが正攻法ですが、どうしてもすぐ欲しい時もありますよね。

ドメイン重複に関するエラー(同じドメインに5回以上重複して申請したとか)でしたら、サブドメインも一緒に申請してやれば回避できる可能性があります。

例)
example.com ← エラーになってしまうドメイン
www.example.com ← サブドメインを追加

追加したサブドメインは、 エラーになってしまうドメインと同じ IP(Aレコード)、同じ場所(Alias)を参照するように設定するのがポイントです。

以下のように -d オプションで複数ドメインに申請してあげれば大丈夫です。

certbot certonly --webroot -w /var/www/html -d example.com -d www.example.com

参考

8
7
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8
7

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?