やりたいこと
Let's encryptでWebサイトのSSL化を考えています.
環境としては,サーバ用PCにてnginxをリバースプロキシとして使い,同一PCのWebアプリに転送する仕組みです.
そこで,このサイトを参考にして導入しようと試みたのですが,
$ sudo certbot --nginx -d example.com # メールアドレスの登録等を行った. Obtaining a new certificate Performing the following challenges: http-01 challenge for example.com Waiting for verification... Cleaning up challenges An unexpected error occurred: There were too many requests of a given type :: Error finalizing order :: too many certificates already issued for: dip.jp: see https://letsencrypt.org/docs/rate-limits/ Please see the logfiles in /var/log/letsencrypt for more details. IMPORTANT NOTES: - Your account credentials have been saved in your Certbot configuration directory at /etc/letsencrypt. You should make a secure backup of this folder now. This configuration directory will also contain certificates and private keys obtained by Certbot so making regular backups of this folder is ideal.
と出力され,失敗しました.
エラー内容では,発行する証明書の数が多すぎると言われていますが,これを実行したのは初めてなので重複するはずが無いように思えるのですが......
これは1週間待って再チャレンジするしかないのでしょうか.
バージョン等
- OS: CentOS Linux release 7.6.1810 (Core)
- ドメイン: 無料DDNSサービスで取得したsample.dip.jp
- certbot: certbot 0.31.0
- nginx.conf
# /etc/nginx/nginx.conf events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream; sendfile on; keepalive_timeout 65; charset UTF-8; server_tokens off; server_names_hash_bucket_size 64; # 海外からのip制限を行っているが,Let's encryptの為にコメントアウト #include /etc/nginx/allowip.conf; #deny all; // Webアプリ1へ server { listen 80 default_server; server_name sample.com; location / { proxy_pass http://localhost:12345; proxy_redirect http:// https://; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-Proto http; proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } } }
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2019/03/06 22:53
2019/03/07 03:32
2019/03/07 11:56