技術

[SSL] let’s encryptの更新でエラー?!

投稿日:

どうも中田です。

無料でSSL証明書が取得できる今日この頃、いかがお過ごしでしょうか。
便利な世の中になりましたが、忘れちゃいけないのが証明書の更新作業。

たまにしかやらないので、これなんでだっけ?ということがままあります。
今回引っかかったエラーはたまにのやつなんで、アウトプットしておこうかと。

やったこと

$ letsencrypt-auto renew --force-renew
Requesting to rerun /letsencrypt-auto with root privileges...
Upgrading certbot-auto 0.23.0 to 0.26.1...
Replacing certbot-auto...
Creating virtual environment...
Installing Python packages...
Installation succeeded.
Saving debug log to /var/log/letsencrypt/letsencrypt.log

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Processing /etc/letsencrypt/renewal/xxxxxx.com.conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Plugins selected: Authenticator webroot, Installer None
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for xxxxxx.com
Waiting for verification...
Cleaning up challenges
Attempting to renew cert (xxxxxx.com) from /etc/letsencrypt/renewal/xxxxxx.com.conf produced an unexpected error: Failed authorization procedure. xxxxxx.com (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://xxxxxx.com/.well-known/acme-challenge/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx: "<html>
<head><title>401 Authorization Required</title></head>
<body bgcolor="white">
<center><h1>401 Authorization Required</". Skipping....

原因

Basic認証掛かってた!

単純なオチですが、同じことで悩んでる方がいればと。。

-技術

執筆者:


comment

メールアドレスが公開されることはありません。 が付いている欄は必須項目です

このサイトはスパムを低減するために Akismet を使っています。コメントデータの処理方法の詳細はこちらをご覧ください

関連記事

[rubyXL] Unknown child node for element

どうも中田です Excelのテンプレートファイルを読み込んで、値を差し込みダウン …

no image

【AngularJS】angularjs-datatable。クリックが効かない問題!

どうも中田です。 今日は情けないブログを書きます。 angularJSでdata …

no image

[Rails]link_toをhelperから使う

こんばんは Railsでviewを作成している時に、helperからlink_t …

[Angular] has no exported member ‘XXXLoginComponent’.

どうも中田です Angularでコンポーネント名を階層構造にあった名前にしようと …

no image

[Angular]リアクティブフォームでバリデーション名を動的に出し分ける。

Angularのリアクティブフォームのカスタムバリデーションで、動的にエラー名を …