質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.47%
Apache

Apacheは、Apache HTTP Serverの略で、最も人気の高いWebサーバソフトウェアの一つです。安定性が高いオープンソースソフトウェアとして商用サイトから自宅サーバまで、多くのプラットフォーム向けに開発・配布されています。サーバーソフトウェアの不具合(NCSA httpd)を修正するパッチ(a patch)を集積、一つ独立したソフトウェアとして開発されました。

Q&A

解決済

1回答

1795閲覧

Let’s Encryptを更新できません

mumeinosato

総合スコア21

Apache

Apacheは、Apache HTTP Serverの略で、最も人気の高いWebサーバソフトウェアの一つです。安定性が高いオープンソースソフトウェアとして商用サイトから自宅サーバまで、多くのプラットフォーム向けに開発・配布されています。サーバーソフトウェアの不具合(NCSA httpd)を修正するパッチ(a patch)を集積、一つ独立したソフトウェアとして開発されました。

0グッド

0クリップ

投稿2021/10/04 08:07

前提・実現したいこと

Let’s Encryptの証明書を更新できるようにしたいです。

発生している問題・エラーメッセージ

sudo certbot renew

で更新しようとすると下記のようなエラーがでます。

Saving debug log to /var/log/letsencrypt/letsencrypt.log - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Processing /etc/letsencrypt/renewal/mumeinosato.mydns.jp.conf - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Cert is due for renewal, auto-renewing... Plugins selected: Authenticator webroot, Installer None Renewing an existing certificate Performing the following challenges: http-01 challenge for mumeinosato.mydns.jp Cleaning up challenges Attempting to renew cert (mumeinosato.mydns.jp) from /etc/letsencrypt/renewal/mumeinosato.mydns.jp.conf produced an unexpected error: Missing command line flag or config entry for this setting: Input the webroot for mumeinosato.mydns.jp:. Skipping. All renewal attempts failed. The following certs could not be renewed: /etc/letsencrypt/live/mumeinosato.mydns.jp/fullchain.pem (failure) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - All renewal attempts failed. The following certs could not be renewed: /etc/letsencrypt/live/mumeinosato.mydns.jp/fullchain.pem (failure) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 renew failure(s), 0 parse failure(s)

試したこと

apacheを停止してから更新

補足情報(FW/ツールのバージョンなど)

Let’s Encrypt
Apache
https://mumeinosato.mydns.jp

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

otn

2021/10/04 10:48

設定ファイルに記述ミスがあるというエラーメッセージですが?
guest

回答1

0

自己解決

/etc/letsencrypt/renewal/xxxx.conf に下記を追加

[[webroot_map]] xxxx.com = /ver/www/html

投稿2021/10/04 12:08

mumeinosato

総合スコア21

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.47%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問