エラー Ref. 5402 により、Asustor NAS で Let's Encrypt 証明書を生成できませんでした

エラー Ref. 5402 により、Asustor NAS で Let's Encrypt 証明書を生成できませんでした

Asustor NASの「設定」->「証明書マネージャ」からLet's Encrypt証明書を生成しようとしたところ(説明書)、プロセスはエラーで繰り返し失敗しました。AsustorからのRef. 5402アンインストール/再インストールは役に立ちませんでした。他に試せることはありますか?Let's Encrypt ACME ClientApp Central

答え1

要約

ターミナルを使用してNASにsshし、次のコマンドを実行します。

rm -rf /volume1/.@plugins/AppCentral/python3/lib/python3.10/site-packages/~ertbot
rm -rf /volume1/.@plugins/AppCentral/python3/lib/python3.10/site-packages/~ertbot-2.6.0.dist-info

次に、証明書マネージャーの GUI に戻り、指示に従うと、プロセスが機能するはずです。

より詳しい情報:

UI が失敗した後、NAS に ssh で接続し、certbot(Let's Encrypt が内部で使用するツール) を手動で実行し、生成された証明書を手動でインストールしようとしました。しかし、次のエラーが発生して失敗しました。

An unexpected error occurred:
Exception: Duplicate plugin name manual from certbot and -ertbot.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /tmp/certbot-log-bufbgpei/log or re-run Certbot with -v for more details.
nic@LaNube:/volume1 $ cat  /tmp/certbot-log-bufbgpei/log
2024-03-02 15:03:00,062:DEBUG:certbot._internal.log:Exiting abnormally:
Traceback (most recent call last):
  File "/usr/local/bin/certbot", line 8, in <module>
    sys.exit(main())
  File "/usr/local/AppCentral/letsencrypt/data/module/lib/python3.10/site-packages/certbot/main.py", line 19, in main
    return internal_main.main(cli_args)
  File "/usr/local/AppCentral/letsencrypt/data/module/lib/python3.10/site-packages/certbot/_internal/main.py", line 1835, in main
    plugins = plugins_disco.PluginsRegistry.find_all()
  File "/usr/local/AppCentral/letsencrypt/data/module/lib/python3.10/site-packages/certbot/_internal/plugins/disco.py", line 192, in find_all
    cls._load_entry_point(entry_point, plugins)
  File "/usr/local/AppCentral/letsencrypt/data/module/lib/python3.10/site-packages/certbot/_internal/plugins/disco.py", line 204, in _load_entry_point
    raise Exception("Duplicate plugin name {0} from {1} and {2}.".format(
Exception: Duplicate plugin name manual from certbot and -ertbot.
2024-03-02 15:03:00,063:ERROR:certbot._internal.log:An unexpected error occurred:
2024-03-02 15:03:00,063:ERROR:certbot._internal.log:Exception: Duplicate plugin name manual from certbot and -ertbot.

cerbotcerbotは、インストール内に 1 セット、および からの 1 セットの 2 つのプラグイン セットが見つかったため失敗します~ertbot~ertbotインストールを削除すると、重複するプラグインの問題が解決され、実際の Let's Encypt インスタンスに悪影響は及ばないようです。この追加パッケージは、App Central インストーラーによってデフォルトでインストールされているようです。

関連情報