2021-09-13 12:21:27
Another instance of Certbot is already running.と言うエラーに対応。
sudo kill -9 5008
とかで削除。
/usr/bin/certbot renew
を再度実行したが、
The following certificates are not due for renewal yet:
との事で、既に更新されていたようでした。
2021-09-12 22:07:06 virtualbox内のサーバーにアクセスするときはホストマシン(win10)から直接接続状態で。
virtualbox内のサーバーにアクセスするときはホストマシン(win10)から直接接続状態で。
モバイルポイントでもなんでもいいけどそういう設定になっています。
でないとnetshとかでマスカレードしようとしてもWin10マシン(ホスト)に直接アクセスしてくれない環境でした。
つまり、モバイル用途ということです。
ってことは、ドメイン⇒ローカルでの設定をし直す必要があるかもしれないですね。
リバースプロキシ。ですけどね。これがLinuxマシン側から見えない。
ここら辺は設定見直す必要アリです。
スマホからのテザリング、パーソナルホットスポットではスマホからのポートマッピング設定をしているわけではなかったのでViretualbox内のサーバーに到達できない状態でした。
期限を過ぎてしまったようですが。すんなり更新できるのかな??
Your certificate (or certificates) for the names listed below will expire in 0 days (on 12 Sep 21 03:05 +0000). Please make sure to renew your certificate before then, or visitors to your web site will encounter errors.
————————-
自動更新される設定のはずが、更新されていない用でした。
Let’s Encrypt certificate expiration notice for domain
先ず、ポート開放チェック
ポート:80
にアクセスできました
アクセス可能を確認。
ポート:443
にアクセスできました
とりあえず更新スクリプトを手動実行
/usr/bin/certbot-auto renew
bash ./renewcert.sh
letsencript renew start
Your system is not supported by certbot-auto anymore.
certbot-auto and its Certbot installation will no longer receive updates.
You will not receive any bug fixes including those fixing server compatibility
or security problems.
Please visit https://certbot.eff.org/ to check for other alternatives.
certbot-auto and its Certbot installation will no longer receive updates.
という事なので、アップデートしなければならない用でしあ。
オフィシャルの説明
日本語で参考にしたところ
2021年の記事で、今起こっている現象とあっているのかなと。
新バージョンになるようです。
snapdをインストールしないといけなくなったようです。
sudo apt install -y snapd
systemctl enable --now snapd.socket
ln -s /var/lib/snapd/snap /snap
snap install --classic certbot
2021-06-14T11:49:46+09:00 INFO Waiting for automatic snapd restart...
certbot 1.16.0 from Certbot Project (certbot-eff✓) installed
sudo ln -s /snap/bin/certbot /usr/bin/certbot
sudo certbot --apache
自動更新設定
@weekly /usr/bin/certbot renew >> /var/log/letsencrypt-renew.log
となっていたので、
私の環境のCronに追加
/usr/bin/certbot renew >> /var/log/letsencrypt-renew.log 2>&1